diff --git a/third_party/googleapis/.bazeliskrc b/third_party/googleapis/.bazeliskrc index 7a810ce11..183a1cd6e 100644 --- a/third_party/googleapis/.bazeliskrc +++ b/third_party/googleapis/.bazeliskrc @@ -1,2 +1,2 @@ # See https://github.com/bazelbuild/bazelisk -USE_BAZEL_VERSION=3.0.0 +USE_BAZEL_VERSION=4.0.0 diff --git a/third_party/googleapis/.github/mistaken-pull-closer.yml b/third_party/googleapis/.github/mistaken-pull-closer.yml new file mode 100644 index 000000000..832ce1060 --- /dev/null +++ b/third_party/googleapis/.github/mistaken-pull-closer.yml @@ -0,0 +1,16 @@ +# The JSONPath filter expression used to identify which PRs to close. +# The data filtered is the pull request data along with other metadata passed in +# by probot. +# Default behavior: Close all PRs. +filters: + - true + +# The message to post to the closed PR. +commentBody: | + Thanks for your contribution! Unfortunately, we don't use GitHub pull + requests to manage code contributions to this repository. Instead, please + see [CONTRIBUTING.md](../blob/master/CONTRIBUTING.md) which provides full + instructions on how to get involved. + +# Whether to add a label to the closed PR. +addLabel: false diff --git a/third_party/googleapis/.github/workflows/generate_api_index.yaml b/third_party/googleapis/.github/workflows/generate_api_index.yaml new file mode 100644 index 000000000..fd4f9e7ef --- /dev/null +++ b/third_party/googleapis/.github/workflows/generate_api_index.yaml @@ -0,0 +1,30 @@ +name: Generate API Index +on: # yamllint disable-line rule:truthy + push: + branches: [master] + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v1.8.0 + - name: Checkout googleapis (this repository) + uses: actions/checkout@v2 + - name: Checkout index generator + uses: actions/checkout@v2 + with: + repository: googleapis/googleapis-api-index-generator + path: gen + - name: Generate API index + run: | + gen/scripts/generate-schema.sh + gen/scripts/generate-index.sh $PWD + cp gen/tmp/api-index-v1.json $PWD + - name: Commit API index + run: | + [[ ! $(git diff --exit-code api-index-v1.json) ]] && echo "Nothing to commit." && exit 0 + git config user.name "Google APIs" + git add api-index-v1.json + git commit -m "chore: regenerate API index" + git push diff --git a/third_party/googleapis/.kokoro/.bazelrc b/third_party/googleapis/.kokoro/.bazelrc index 37ad7713a..8b1378917 100644 --- a/third_party/googleapis/.kokoro/.bazelrc +++ b/third_party/googleapis/.kokoro/.bazelrc @@ -1,2 +1 @@ -build --extra_toolchains=@gapic_generator_python//:pyenv3_toolchain --define=gapic_gen_python=3.6 -test --extra_toolchains=@gapic_generator_python//:pyenv3_toolchain --define=gapic_gen_python=3.6 + diff --git a/third_party/googleapis/.kokoro/Dockerfile b/third_party/googleapis/.kokoro/Dockerfile new file mode 100644 index 000000000..93aa8fb82 --- /dev/null +++ b/third_party/googleapis/.kokoro/Dockerfile @@ -0,0 +1,27 @@ +FROM python:3.8 + +RUN apt-get update + +RUN apt-get install -y \ + zip \ + build-essential \ + python-dev \ + python3-dev \ + openjdk-11-jdk + +RUN mkdir -p /tools +WORKDIR /tools +RUN curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.8.0/bazelisk-linux-amd64 -o bazelisk +RUN chmod +x bazelisk +RUN curl -L https://github.com/bazelbuild/bazel/releases/download/4.0.0/bazel-4.0.0-linux-x86_64 -o bazel +RUN chmod +x bazel +WORKDIR / + +ENV PATH="/tools:${PATH}" + +ENV BAZELISK_BIN=/tools/bazelisk +ENV BAZEL_BIN=/tools/bazelisk + +RUN apt-get clean + +ENTRYPOINT [ "/bin/bash" ] diff --git a/third_party/googleapis/.kokoro/build.sh b/third_party/googleapis/.kokoro/build.sh index 9de38b108..6bf58b1a3 100755 --- a/third_party/googleapis/.kokoro/build.sh +++ b/third_party/googleapis/.kokoro/build.sh @@ -5,9 +5,6 @@ set -e cd ${KOKORO_ARTIFACTS_DIR}/github/googleapis cp .kokoro/.bazelrc $HOME/.bazelrc -# shellcheck source=/dev/null -source .kokoro/setup.sh - # # Run build and tests # diff --git a/third_party/googleapis/.kokoro/continuous.cfg b/third_party/googleapis/.kokoro/continuous.cfg index 19a1c5163..43fd5fd7d 100644 --- a/third_party/googleapis/.kokoro/continuous.cfg +++ b/third_party/googleapis/.kokoro/continuous.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "googleapis/.kokoro/build.sh" +build_file: "googleapis/.kokoro/start.sh" diff --git a/third_party/googleapis/.kokoro/presubmit.cfg b/third_party/googleapis/.kokoro/presubmit.cfg index 19a1c5163..43fd5fd7d 100644 --- a/third_party/googleapis/.kokoro/presubmit.cfg +++ b/third_party/googleapis/.kokoro/presubmit.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "googleapis/.kokoro/build.sh" +build_file: "googleapis/.kokoro/start.sh" diff --git a/third_party/googleapis/.kokoro/setup.sh b/third_party/googleapis/.kokoro/setup.sh deleted file mode 100644 index 26a2f6f09..000000000 --- a/third_party/googleapis/.kokoro/setup.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -set -e - -# -# Update GCC -# -update_gcc() { - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update - sudo apt-get install -y gcc-6 g++-6 -} - -time { - update_gcc || sleep 10 || update_gcc || sleep 20 || update_gcc -} -export CXX=g++-6 -export CC=gcc-6 - -# -# Install bazelisk -# -mkdir ${KOKORO_ROOT}/tools -cd ${KOKORO_ROOT}/tools -curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.6.1/bazelisk-linux-amd64 -o bazelisk -chmod +x bazelisk -mkdir bazel_root -cd - - -# gapic-generator-python requires python 3.6+ -pyenv global 3.6.1 - -BAZELISK_BIN=${KOKORO_ROOT}/tools/bazelisk -BAZEL_ROOT=${KOKORO_ROOT}/tools/bazel_root diff --git a/third_party/googleapis/.kokoro/start.sh b/third_party/googleapis/.kokoro/start.sh new file mode 100755 index 000000000..32d3149c8 --- /dev/null +++ b/third_party/googleapis/.kokoro/start.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +export BAZEL_ROOT=/bazel_root + +docker container run \ + --env KOKORO_ROOT --env KOKORO_ARTIFACTS_DIR --env KOKORO_PIPER_DIR --env BAZEL_ROOT \ + --volume ${KOKORO_ROOT}:${KOKORO_ROOT} \ + --tmpfs ${BAZEL_ROOT}:exec \ + --workdir ${KOKORO_ROOT} \ + --ipc=host \ + --entrypoint ${KOKORO_ARTIFACTS_DIR}/github/googleapis/.kokoro/build.sh \ + gcr.io/gapic-images/googleapis:20210423 \ No newline at end of file diff --git a/third_party/googleapis/CODE_OF_CONDUCT.md b/third_party/googleapis/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..46b2a08ea --- /dev/null +++ b/third_party/googleapis/CODE_OF_CONDUCT.md @@ -0,0 +1,43 @@ +# Contributor Code of Conduct + +As contributors and maintainers of this project, +and in the interest of fostering an open and welcoming community, +we pledge to respect all people who contribute through reporting issues, +posting feature requests, updating documentation, +submitting pull requests or patches, and other activities. + +We are committed to making participation in this project +a harassment-free experience for everyone, +regardless of level of experience, gender, gender identity and expression, +sexual orientation, disability, personal appearance, +body size, race, ethnicity, age, religion, or nationality. + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery +* Personal attacks +* Trolling or insulting/derogatory comments +* Public or private harassment +* Publishing other's private information, +such as physical or electronic +addresses, without explicit permission +* Other unethical or unprofessional conduct. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct. +By adopting this Code of Conduct, +project maintainers commit themselves to fairly and consistently +applying these principles to every aspect of managing this project. +Project maintainers who do not follow or enforce the Code of Conduct +may be permanently removed from the project team. + +This code of conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. + +Instances of abusive, harassing, or otherwise unacceptable behavior +may be reported by opening an issue +or contacting one or more of the project maintainers. + +This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, +available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/) diff --git a/third_party/googleapis/SECURITY.md b/third_party/googleapis/SECURITY.md new file mode 100644 index 000000000..8b58ae9c0 --- /dev/null +++ b/third_party/googleapis/SECURITY.md @@ -0,0 +1,7 @@ +# Security Policy + +To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). + +The Google Security Team will respond within 5 working days of your report on g.co/vulnz. + +We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/third_party/googleapis/WORKSPACE b/third_party/googleapis/WORKSPACE index 8c3851933..674ed36e4 100644 --- a/third_party/googleapis/WORKSPACE +++ b/third_party/googleapis/WORKSPACE @@ -76,8 +76,8 @@ rules_proto_toolchains() # section http_archive( name = "com_google_api_codegen", - strip_prefix = "gapic-generator-2.10.4", - urls = ["https://github.com/googleapis/gapic-generator/archive/v2.10.4.zip"], + strip_prefix = "gapic-generator-2.11.0", + urls = ["https://github.com/googleapis/gapic-generator/archive/v2.11.0.zip"], ) # rules_go (support Golang under bazel) @@ -128,7 +128,7 @@ go_register_toolchains() gazelle_dependencies() -_rules_gapic_version = "0.5.0" +_rules_gapic_version = "0.5.3" http_archive( name = "rules_gapic", @@ -154,9 +154,8 @@ rules_gapic_repositories() http_archive( name = "com_github_grpc_grpc", - sha256 = "0f330e4734f49d2bfdb9ad195b021720b5dd2e2a534cdf21c7ddc7f7eb42e170", - strip_prefix = "grpc-1.33.1", - urls = ["https://github.com/grpc/grpc/archive/v1.33.1.zip"], + strip_prefix = "grpc-1.36.4", + urls = ["https://github.com/grpc/grpc/archive/v1.36.4.zip"], ) load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") @@ -178,27 +177,7 @@ apple_support_dependencies() ############################################################################## # Java ############################################################################## -# Java microgenerator. -_gapic_generator_java_version = "1.0.1" - -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], -) - -load("@gapic_generator_java//:repository_rules.bzl", "gapic_generator_java_properties") - -gapic_generator_java_properties( - name = "gapic_generator_java_properties", - file = "@gapic_generator_java//:dependencies.properties", -) - -load("@gapic_generator_java//:repositories.bzl", "gapic_generator_java_repositories") - -gapic_generator_java_repositories() - -_gax_java_version = "1.62.0" +_gax_java_version = "1.63.3" http_archive( name = "com_google_api_gax_java", @@ -221,6 +200,27 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories") grpc_java_repositories() +# Java microgenerator. +# Must go AFTER java-gax, since both java gax and gapic-generator are written in java and may conflict. +_gapic_generator_java_version = "1.0.9" + +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], +) + +load("@gapic_generator_java//:repository_rules.bzl", "gapic_generator_java_properties") + +gapic_generator_java_properties( + name = "gapic_generator_java_properties", + file = "@gapic_generator_java//:dependencies.properties", +) + +load("@gapic_generator_java//:repositories.bzl", "gapic_generator_java_repositories") + +gapic_generator_java_repositories() + # gapic-generator transitive # (goes AFTER java-gax, since both java gax and gapic-generator are written in java and may conflict) load("@com_google_api_codegen//:repository_rules.bzl", "com_google_api_codegen_properties") @@ -278,8 +278,8 @@ pip_repositories() http_archive( name = "gapic_generator_python", - strip_prefix = "gapic-generator-python-0.42.2", - urls = ["https://github.com/googleapis/gapic-generator-python/archive/v0.42.2.zip"], + strip_prefix = "gapic-generator-python-0.46.3", + urls = ["https://github.com/googleapis/gapic-generator-python/archive/v0.46.3.zip"], ) load( @@ -296,10 +296,12 @@ gapic_generator_register_toolchains() # Go ############################################################################## +_gapic_generator_go_version = "0.20.0" + http_archive( name = "com_googleapis_gapic_generator_go", - strip_prefix = "gapic-generator-go-0.18.4", - urls = ["https://github.com/googleapis/gapic-generator-go/archive/v0.18.4.tar.gz"], + strip_prefix = "gapic-generator-go-%s" % _gapic_generator_go_version, + urls = ["https://github.com/googleapis/gapic-generator-go/archive/v%s.tar.gz" % _gapic_generator_go_version], ) load("@com_googleapis_gapic_generator_go//:repositories.bzl", "com_googleapis_gapic_generator_go_repositories") @@ -314,9 +316,9 @@ go_gapic_repositories() # TypeScript ############################################################################## -_gapic_generator_typescript_version = "1.2.11" +_gapic_generator_typescript_version = "1.4.0" -_gapic_generator_typescript_sha256 = "cefde7dc7c1b7150c9eb237cafb778f2430a5416c8ee6fa706537437d2a517ea" +_gapic_generator_typescript_sha256 = "34718494b0696706ccfa46c8ed360f1999d7e33d5121aa86bb302af402b72d46" ### TypeScript generator http_archive( @@ -358,11 +360,12 @@ php( php_gapic_repositories() # PHP micro-generator (beta) +_gapic_generator_php_version = "0.1.6" http_archive( name = "gapic_generator_php", - strip_prefix = "gapic-generator-php-1.0.0-beta04", - urls = ["https://github.com/googleapis/gapic-generator-php/archive/v1.0.0-beta04.zip"], + strip_prefix = "gapic-generator-php-%s" % _gapic_generator_php_version, + urls = ["https://github.com/googleapis/gapic-generator-php/archive/v%s.zip" % _gapic_generator_php_version], ) load("@gapic_generator_php//:repositories.bzl", "gapic_generator_php_repositories") @@ -374,17 +377,27 @@ gapic_generator_php_repositories() ############################################################################## # Required to access the C#-specific common resources config. +_gax_dotnet_version = "Google.Api.Gax-3.3.0" + +_gax_dotnet_sha256 = "c4d31345a226987e8551cb81afa685c9322d3f806077d9f02011676cf00c15d9" + http_archive( name = "gax_dotnet", build_file_content = "exports_files([\"Google.Api.Gax/ResourceNames/CommonResourcesConfig.json\"])", - strip_prefix = "gax-dotnet-b4bf8c3e67a89e558f06af60f777bd12abe84392", - urls = ["https://github.com/googleapis/gax-dotnet/archive/b4bf8c3e67a89e558f06af60f777bd12abe84392.zip"], + sha256 = _gax_dotnet_sha256, + strip_prefix = "gax-dotnet-%s" % _gax_dotnet_version, + urls = ["https://github.com/googleapis/gax-dotnet/archive/refs/tags/%s.tar.gz" % _gax_dotnet_version], ) +_gapic_generator_csharp_version = "1.3.6" + +_gapic_generator_csharp_sha256 = "6340309dc6b86bfd0dc2c9fca41cf991c7163eda2f48a7062fe4da5bd62c99d6" + http_archive( name = "gapic_generator_csharp", - strip_prefix = "gapic-generator-csharp-1.3.1", - urls = ["https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip"], + sha256 = _gapic_generator_csharp_sha256, + strip_prefix = "gapic-generator-csharp-%s" % _gapic_generator_csharp_version, + urls = ["https://github.com/googleapis/gapic-generator-csharp/archive/refs/tags/v%s.tar.gz" % _gapic_generator_csharp_version], ) load("@gapic_generator_csharp//:repositories.bzl", "gapic_generator_csharp_repositories") @@ -394,11 +407,15 @@ gapic_generator_csharp_repositories() ############################################################################## # Ruby ############################################################################## +_gapic_generator_ruby_version = "e10d40afa96a28036da03bb9b0af17d702715886" + +_gapic_generator_ruby_sha256 = "a560f2f0d12411b2b4f76ba087f6fcf4d517ef1e9abec1b5a517dfe348e67f3b" http_archive( name = "gapic_generator_ruby", - strip_prefix = "gapic-generator-ruby-56da7d96565f670ceaaa64d6489431f13e60574e", - urls = ["https://github.com/googleapis/gapic-generator-ruby/archive/56da7d96565f670ceaaa64d6489431f13e60574e.zip"], + sha256 = _gapic_generator_ruby_sha256, + strip_prefix = "gapic-generator-ruby-%s" % _gapic_generator_ruby_version, + urls = ["https://github.com/googleapis/gapic-generator-ruby/archive/%s.tar.gz" % _gapic_generator_ruby_version], ) load("@gapic_generator_ruby//rules_ruby_gapic:repositories.bzl", "gapic_generator_ruby_repositories") diff --git a/third_party/googleapis/api-index-v1.json b/third_party/googleapis/api-index-v1.json new file mode 100644 index 000000000..bb585b2a4 --- /dev/null +++ b/third_party/googleapis/api-index-v1.json @@ -0,0 +1,59110 @@ +{ + "apis": [ + { + "id": "google.actions.sdk.v2", + "directory": "google/actions/sdk/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "actions.googleapis.com", + "title": "Actions API", + "description": "A RESTful service for the Actions API.", + "importDirectories": [ + "google/actions/sdk/v2", + "google/actions/sdk/v2/conversation", + "google/actions/sdk/v2/conversation/prompt", + "google/actions/sdk/v2/conversation/prompt/content", + "google/actions/sdk/v2/interactionmodel", + "google/actions/sdk/v2/interactionmodel/prompt", + "google/actions/sdk/v2/interactionmodel/prompt/content", + "google/actions/sdk/v2/interactionmodel/type", + "google/api", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.actions.sdk.v2": 18, + "com.google.actions.sdk.v2.interactionmodel": 8, + "com.google.actions.sdk.v2.interactionmodel.prompt": 14, + "com.google.actions.sdk.v2.interactionmodel.type": 6, + "com.google.actions.sdk.v2.conversation": 14 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 60 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/actions/sdk/v2;sdk": 18, + "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel;interactionmodel": 8, + "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/prompt;prompt": 14, + "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type": 6, + "google.golang.org/genproto/googleapis/actions/sdk/v2/conversation;conversation": 14 + } + } + }, + "services": [ + { + "shortName": "ActionsSdk", + "fullName": "google.actions.sdk.v2.ActionsSdk", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.actions.sdk.v2.ActionsSdk.CreateVersion", + "mode": "CLIENT_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/versions:create" + } + ] + }, + { + "shortName": "DecryptSecret", + "fullName": "google.actions.sdk.v2.ActionsSdk.DecryptSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2:decryptSecret" + } + ] + }, + { + "shortName": "EncryptSecret", + "fullName": "google.actions.sdk.v2.ActionsSdk.EncryptSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2:encryptSecret" + } + ] + }, + { + "shortName": "ListReleaseChannels", + "fullName": "google.actions.sdk.v2.ActionsSdk.ListReleaseChannels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/releaseChannels" + } + ] + }, + { + "shortName": "ListSampleProjects", + "fullName": "google.actions.sdk.v2.ActionsSdk.ListSampleProjects", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/sampleProjects" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.actions.sdk.v2.ActionsSdk.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/versions" + } + ] + }, + { + "shortName": "ReadDraft", + "fullName": "google.actions.sdk.v2.ActionsSdk.ReadDraft", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/draft}:read" + } + ] + }, + { + "shortName": "ReadVersion", + "fullName": "google.actions.sdk.v2.ActionsSdk.ReadVersion", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/versions/*}:read" + } + ] + }, + { + "shortName": "WriteDraft", + "fullName": "google.actions.sdk.v2.ActionsSdk.WriteDraft", + "mode": "CLIENT_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/draft:write" + } + ] + }, + { + "shortName": "WritePreview", + "fullName": "google.actions.sdk.v2.ActionsSdk.WritePreview", + "mode": "CLIENT_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/preview:write" + } + ] + } + ] + }, + { + "shortName": "ActionsTesting", + "fullName": "google.actions.sdk.v2.ActionsTesting", + "methods": [ + { + "shortName": "MatchIntents", + "fullName": "google.actions.sdk.v2.ActionsTesting.MatchIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{project=projects/*}:matchIntents" + } + ] + }, + { + "shortName": "SendInteraction", + "fullName": "google.actions.sdk.v2.ActionsTesting.SendInteraction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{project=projects/*}:sendInteraction" + } + ] + }, + { + "shortName": "SetWebAndAppActivityControl", + "fullName": "google.actions.sdk.v2.ActionsTesting.SetWebAndAppActivityControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2:setWebAndAppActivityControl" + } + ] + } + ] + } + ] + }, + { + "id": "google.ads.googleads.v4", + "directory": "google/ads/googleads/v4", + "version": "v4", + "majorVersion": "v4", + "hostName": "googleads.googleapis.com", + "title": "Google Ads API", + "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", + "importDirectories": [ + "google/ads/googleads/v4/common", + "google/ads/googleads/v4/enums", + "google/ads/googleads/v4/errors", + "google/ads/googleads/v4/resources", + "google/ads/googleads/v4/services", + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.ads.googleads.v4.errors": 114, + "com.google.ads.googleads.v4.enums": 222, + "com.google.ads.googleads.v4.common": 28, + "com.google.ads.googleads.v4.resources": 106, + "com.google.ads.googleads.v4.services": 112 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 582 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors": 114, + "google.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums": 222, + "google.golang.org/genproto/googleapis/ads/googleads/v4/common;common": 28, + "google.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources": 106, + "google.golang.org/genproto/googleapis/ads/googleads/v4/services;services": 112 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GAA": 582 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Ads.GoogleAds.V4.Errors": 114, + "Google.Ads.GoogleAds.V4.Enums": 222, + "Google.Ads.GoogleAds.V4.Common": 28, + "Google.Ads.GoogleAds.V4.Resources": 106, + "Google.Ads.GoogleAds.V4.Services": 112 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Ads\\GoogleAds\\V4\\Errors": 114, + "Google\\Ads\\GoogleAds\\V4\\Enums": 222, + "Google\\Ads\\GoogleAds\\V4\\Common": 28, + "Google\\Ads\\GoogleAds\\V4\\Resources": 106, + "Google\\Ads\\GoogleAds\\V4\\Services": 112 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Ads::GoogleAds::V4::Errors": 114, + "Google::Ads::GoogleAds::V4::Enums": 222, + "Google::Ads::GoogleAds::V4::Common": 28, + "Google::Ads::GoogleAds::V4::Resources": 106, + "Google::Ads::GoogleAds::V4::Services": 112 + } + } + }, + "services": [ + { + "shortName": "AccountBudgetProposalService", + "fullName": "google.ads.googleads.v4.services.AccountBudgetProposalService", + "methods": [ + { + "shortName": "GetAccountBudgetProposal", + "fullName": "google.ads.googleads.v4.services.AccountBudgetProposalService.GetAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/accountBudgetProposals/*}" + } + ] + }, + { + "shortName": "MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v4.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/accountBudgetProposals:mutate" + } + ] + } + ] + }, + { + "shortName": "AccountBudgetService", + "fullName": "google.ads.googleads.v4.services.AccountBudgetService", + "methods": [ + { + "shortName": "GetAccountBudget", + "fullName": "google.ads.googleads.v4.services.AccountBudgetService.GetAccountBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/accountBudgets/*}" + } + ] + } + ] + }, + { + "shortName": "AccountLinkService", + "fullName": "google.ads.googleads.v4.services.AccountLinkService", + "methods": [ + { + "shortName": "GetAccountLink", + "fullName": "google.ads.googleads.v4.services.AccountLinkService.GetAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/accountLinks/*}" + } + ] + }, + { + "shortName": "MutateAccountLink", + "fullName": "google.ads.googleads.v4.services.AccountLinkService.MutateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/accountLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdAssetViewService", + "fullName": "google.ads.googleads.v4.services.AdGroupAdAssetViewService", + "methods": [ + { + "shortName": "GetAdGroupAdAssetView", + "fullName": "google.ads.googleads.v4.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupAdAssetViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdLabelService", + "fullName": "google.ads.googleads.v4.services.AdGroupAdLabelService", + "methods": [ + { + "shortName": "GetAdGroupAdLabel", + "fullName": "google.ads.googleads.v4.services.AdGroupAdLabelService.GetAdGroupAdLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupAdLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v4.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupAdLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdService", + "fullName": "google.ads.googleads.v4.services.AdGroupAdService", + "methods": [ + { + "shortName": "GetAdGroupAd", + "fullName": "google.ads.googleads.v4.services.AdGroupAdService.GetAdGroupAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupAds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAds", + "fullName": "google.ads.googleads.v4.services.AdGroupAdService.MutateAdGroupAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupAds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAudienceViewService", + "fullName": "google.ads.googleads.v4.services.AdGroupAudienceViewService", + "methods": [ + { + "shortName": "GetAdGroupAudienceView", + "fullName": "google.ads.googleads.v4.services.AdGroupAudienceViewService.GetAdGroupAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupBidModifierService", + "fullName": "google.ads.googleads.v4.services.AdGroupBidModifierService", + "methods": [ + { + "shortName": "GetAdGroupBidModifier", + "fullName": "google.ads.googleads.v4.services.AdGroupBidModifierService.GetAdGroupBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v4.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionLabelService", + "methods": [ + { + "shortName": "GetAdGroupCriterionLabel", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupCriterionLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionService", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionService", + "methods": [ + { + "shortName": "GetAdGroupCriterion", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionService.GetAdGroupCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupCriteria/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionService.MutateAdGroupCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionSimulationService", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionSimulationService", + "methods": [ + { + "shortName": "GetAdGroupCriterionSimulation", + "fullName": "google.ads.googleads.v4.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v4.services.AdGroupExtensionSettingService", + "methods": [ + { + "shortName": "GetAdGroupExtensionSetting", + "fullName": "google.ads.googleads.v4.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v4.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupFeedService", + "fullName": "google.ads.googleads.v4.services.AdGroupFeedService", + "methods": [ + { + "shortName": "GetAdGroupFeed", + "fullName": "google.ads.googleads.v4.services.AdGroupFeedService.GetAdGroupFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupFeeds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v4.services.AdGroupFeedService.MutateAdGroupFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupLabelService", + "fullName": "google.ads.googleads.v4.services.AdGroupLabelService", + "methods": [ + { + "shortName": "GetAdGroupLabel", + "fullName": "google.ads.googleads.v4.services.AdGroupLabelService.GetAdGroupLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupLabels", + "fullName": "google.ads.googleads.v4.services.AdGroupLabelService.MutateAdGroupLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroupLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupService", + "fullName": "google.ads.googleads.v4.services.AdGroupService", + "methods": [ + { + "shortName": "GetAdGroup", + "fullName": "google.ads.googleads.v4.services.AdGroupService.GetAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroups/*}" + } + ] + }, + { + "shortName": "MutateAdGroups", + "fullName": "google.ads.googleads.v4.services.AdGroupService.MutateAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupSimulationService", + "fullName": "google.ads.googleads.v4.services.AdGroupSimulationService", + "methods": [ + { + "shortName": "GetAdGroupSimulation", + "fullName": "google.ads.googleads.v4.services.AdGroupSimulationService.GetAdGroupSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adGroupSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdParameterService", + "fullName": "google.ads.googleads.v4.services.AdParameterService", + "methods": [ + { + "shortName": "GetAdParameter", + "fullName": "google.ads.googleads.v4.services.AdParameterService.GetAdParameter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adParameters/*}" + } + ] + }, + { + "shortName": "MutateAdParameters", + "fullName": "google.ads.googleads.v4.services.AdParameterService.MutateAdParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/adParameters:mutate" + } + ] + } + ] + }, + { + "shortName": "AdScheduleViewService", + "fullName": "google.ads.googleads.v4.services.AdScheduleViewService", + "methods": [ + { + "shortName": "GetAdScheduleView", + "fullName": "google.ads.googleads.v4.services.AdScheduleViewService.GetAdScheduleView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/adScheduleViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdService", + "fullName": "google.ads.googleads.v4.services.AdService", + "methods": [ + { + "shortName": "GetAd", + "fullName": "google.ads.googleads.v4.services.AdService.GetAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/ads/*}" + } + ] + }, + { + "shortName": "MutateAds", + "fullName": "google.ads.googleads.v4.services.AdService.MutateAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/ads:mutate" + } + ] + } + ] + }, + { + "shortName": "AgeRangeViewService", + "fullName": "google.ads.googleads.v4.services.AgeRangeViewService", + "methods": [ + { + "shortName": "GetAgeRangeView", + "fullName": "google.ads.googleads.v4.services.AgeRangeViewService.GetAgeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/ageRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "AssetService", + "fullName": "google.ads.googleads.v4.services.AssetService", + "methods": [ + { + "shortName": "GetAsset", + "fullName": "google.ads.googleads.v4.services.AssetService.GetAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/assets/*}" + } + ] + }, + { + "shortName": "MutateAssets", + "fullName": "google.ads.googleads.v4.services.AssetService.MutateAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/assets:mutate" + } + ] + } + ] + }, + { + "shortName": "BatchJobService", + "fullName": "google.ads.googleads.v4.services.BatchJobService", + "methods": [ + { + "shortName": "AddBatchJobOperations", + "fullName": "google.ads.googleads.v4.services.BatchJobService.AddBatchJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{resource_name=customers/*/batchJobs/*}:addOperations" + } + ] + }, + { + "shortName": "GetBatchJob", + "fullName": "google.ads.googleads.v4.services.BatchJobService.GetBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/batchJobs/*}" + } + ] + }, + { + "shortName": "ListBatchJobResults", + "fullName": "google.ads.googleads.v4.services.BatchJobService.ListBatchJobResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/batchJobs/*}:listResults" + } + ] + }, + { + "shortName": "MutateBatchJob", + "fullName": "google.ads.googleads.v4.services.BatchJobService.MutateBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/batchJobs:mutate" + } + ] + }, + { + "shortName": "RunBatchJob", + "fullName": "google.ads.googleads.v4.services.BatchJobService.RunBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{resource_name=customers/*/batchJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "BiddingStrategyService", + "fullName": "google.ads.googleads.v4.services.BiddingStrategyService", + "methods": [ + { + "shortName": "GetBiddingStrategy", + "fullName": "google.ads.googleads.v4.services.BiddingStrategyService.GetBiddingStrategy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/biddingStrategies/*}" + } + ] + }, + { + "shortName": "MutateBiddingStrategies", + "fullName": "google.ads.googleads.v4.services.BiddingStrategyService.MutateBiddingStrategies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/biddingStrategies:mutate" + } + ] + } + ] + }, + { + "shortName": "BillingSetupService", + "fullName": "google.ads.googleads.v4.services.BillingSetupService", + "methods": [ + { + "shortName": "GetBillingSetup", + "fullName": "google.ads.googleads.v4.services.BillingSetupService.GetBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/billingSetups/*}" + } + ] + }, + { + "shortName": "MutateBillingSetup", + "fullName": "google.ads.googleads.v4.services.BillingSetupService.MutateBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/billingSetups:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAudienceViewService", + "fullName": "google.ads.googleads.v4.services.CampaignAudienceViewService", + "methods": [ + { + "shortName": "GetCampaignAudienceView", + "fullName": "google.ads.googleads.v4.services.CampaignAudienceViewService.GetCampaignAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignBidModifierService", + "fullName": "google.ads.googleads.v4.services.CampaignBidModifierService", + "methods": [ + { + "shortName": "GetCampaignBidModifier", + "fullName": "google.ads.googleads.v4.services.CampaignBidModifierService.GetCampaignBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v4.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignBudgetService", + "fullName": "google.ads.googleads.v4.services.CampaignBudgetService", + "methods": [ + { + "shortName": "GetCampaignBudget", + "fullName": "google.ads.googleads.v4.services.CampaignBudgetService.GetCampaignBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignBudgets/*}" + } + ] + }, + { + "shortName": "MutateCampaignBudgets", + "fullName": "google.ads.googleads.v4.services.CampaignBudgetService.MutateCampaignBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignBudgets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionService", + "fullName": "google.ads.googleads.v4.services.CampaignCriterionService", + "methods": [ + { + "shortName": "GetCampaignCriterion", + "fullName": "google.ads.googleads.v4.services.CampaignCriterionService.GetCampaignCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignCriteria/*}" + } + ] + }, + { + "shortName": "MutateCampaignCriteria", + "fullName": "google.ads.googleads.v4.services.CampaignCriterionService.MutateCampaignCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionSimulationService", + "fullName": "google.ads.googleads.v4.services.CampaignCriterionSimulationService", + "methods": [ + { + "shortName": "GetCampaignCriterionSimulation", + "fullName": "google.ads.googleads.v4.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignDraftService", + "fullName": "google.ads.googleads.v4.services.CampaignDraftService", + "methods": [ + { + "shortName": "GetCampaignDraft", + "fullName": "google.ads.googleads.v4.services.CampaignDraftService.GetCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignDrafts/*}" + } + ] + }, + { + "shortName": "ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v4.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignDrafts", + "fullName": "google.ads.googleads.v4.services.CampaignDraftService.MutateCampaignDrafts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignDrafts:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignDraft", + "fullName": "google.ads.googleads.v4.services.CampaignDraftService.PromoteCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{campaign_draft=customers/*/campaignDrafts/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExperimentService", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService", + "methods": [ + { + "shortName": "CreateCampaignExperiment", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.CreateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignExperiments:create" + } + ] + }, + { + "shortName": "EndCampaignExperiment", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.EndCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{campaign_experiment=customers/*/campaignExperiments/*}:end" + } + ] + }, + { + "shortName": "GetCampaignExperiment", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.GetCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignExperiments/*}" + } + ] + }, + { + "shortName": "GraduateCampaignExperiment", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.GraduateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" + } + ] + }, + { + "shortName": "ListCampaignExperimentAsyncErrors", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignExperiments", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.MutateCampaignExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignExperiments:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignExperiment", + "fullName": "google.ads.googleads.v4.services.CampaignExperimentService.PromoteCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{campaign_experiment=customers/*/campaignExperiments/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v4.services.CampaignExtensionSettingService", + "methods": [ + { + "shortName": "GetCampaignExtensionSetting", + "fullName": "google.ads.googleads.v4.services.CampaignExtensionSettingService.GetCampaignExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v4.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignFeedService", + "fullName": "google.ads.googleads.v4.services.CampaignFeedService", + "methods": [ + { + "shortName": "GetCampaignFeed", + "fullName": "google.ads.googleads.v4.services.CampaignFeedService.GetCampaignFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignFeeds/*}" + } + ] + }, + { + "shortName": "MutateCampaignFeeds", + "fullName": "google.ads.googleads.v4.services.CampaignFeedService.MutateCampaignFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignLabelService", + "fullName": "google.ads.googleads.v4.services.CampaignLabelService", + "methods": [ + { + "shortName": "GetCampaignLabel", + "fullName": "google.ads.googleads.v4.services.CampaignLabelService.GetCampaignLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignLabels/*}" + } + ] + }, + { + "shortName": "MutateCampaignLabels", + "fullName": "google.ads.googleads.v4.services.CampaignLabelService.MutateCampaignLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignService", + "fullName": "google.ads.googleads.v4.services.CampaignService", + "methods": [ + { + "shortName": "GetCampaign", + "fullName": "google.ads.googleads.v4.services.CampaignService.GetCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaigns/*}" + } + ] + }, + { + "shortName": "MutateCampaigns", + "fullName": "google.ads.googleads.v4.services.CampaignService.MutateCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignSharedSetService", + "fullName": "google.ads.googleads.v4.services.CampaignSharedSetService", + "methods": [ + { + "shortName": "GetCampaignSharedSet", + "fullName": "google.ads.googleads.v4.services.CampaignSharedSetService.GetCampaignSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/campaignSharedSets/*}" + } + ] + }, + { + "shortName": "MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v4.services.CampaignSharedSetService.MutateCampaignSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/campaignSharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "CarrierConstantService", + "fullName": "google.ads.googleads.v4.services.CarrierConstantService", + "methods": [ + { + "shortName": "GetCarrierConstant", + "fullName": "google.ads.googleads.v4.services.CarrierConstantService.GetCarrierConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=carrierConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ChangeStatusService", + "fullName": "google.ads.googleads.v4.services.ChangeStatusService", + "methods": [ + { + "shortName": "GetChangeStatus", + "fullName": "google.ads.googleads.v4.services.ChangeStatusService.GetChangeStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/changeStatus/*}" + } + ] + } + ] + }, + { + "shortName": "ClickViewService", + "fullName": "google.ads.googleads.v4.services.ClickViewService", + "methods": [ + { + "shortName": "GetClickView", + "fullName": "google.ads.googleads.v4.services.ClickViewService.GetClickView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/clickViews/*}" + } + ] + } + ] + }, + { + "shortName": "ConversionActionService", + "fullName": "google.ads.googleads.v4.services.ConversionActionService", + "methods": [ + { + "shortName": "GetConversionAction", + "fullName": "google.ads.googleads.v4.services.ConversionActionService.GetConversionAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/conversionActions/*}" + } + ] + }, + { + "shortName": "MutateConversionActions", + "fullName": "google.ads.googleads.v4.services.ConversionActionService.MutateConversionActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/conversionActions:mutate" + } + ] + } + ] + }, + { + "shortName": "ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v4.services.ConversionAdjustmentUploadService", + "methods": [ + { + "shortName": "UploadConversionAdjustments", + "fullName": "google.ads.googleads.v4.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:uploadConversionAdjustments" + } + ] + } + ] + }, + { + "shortName": "ConversionUploadService", + "fullName": "google.ads.googleads.v4.services.ConversionUploadService", + "methods": [ + { + "shortName": "UploadCallConversions", + "fullName": "google.ads.googleads.v4.services.ConversionUploadService.UploadCallConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:uploadCallConversions" + } + ] + }, + { + "shortName": "UploadClickConversions", + "fullName": "google.ads.googleads.v4.services.ConversionUploadService.UploadClickConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:uploadClickConversions" + } + ] + } + ] + }, + { + "shortName": "CurrencyConstantService", + "fullName": "google.ads.googleads.v4.services.CurrencyConstantService", + "methods": [ + { + "shortName": "GetCurrencyConstant", + "fullName": "google.ads.googleads.v4.services.CurrencyConstantService.GetCurrencyConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=currencyConstants/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerClientLinkService", + "fullName": "google.ads.googleads.v4.services.CustomerClientLinkService", + "methods": [ + { + "shortName": "GetCustomerClientLink", + "fullName": "google.ads.googleads.v4.services.CustomerClientLinkService.GetCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerClientLinks/*}" + } + ] + }, + { + "shortName": "MutateCustomerClientLink", + "fullName": "google.ads.googleads.v4.services.CustomerClientLinkService.MutateCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerClientLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientService", + "fullName": "google.ads.googleads.v4.services.CustomerClientService", + "methods": [ + { + "shortName": "GetCustomerClient", + "fullName": "google.ads.googleads.v4.services.CustomerClientService.GetCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerClients/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v4.services.CustomerExtensionSettingService", + "methods": [ + { + "shortName": "GetCustomerExtensionSetting", + "fullName": "google.ads.googleads.v4.services.CustomerExtensionSettingService.GetCustomerExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v4.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerFeedService", + "fullName": "google.ads.googleads.v4.services.CustomerFeedService", + "methods": [ + { + "shortName": "GetCustomerFeed", + "fullName": "google.ads.googleads.v4.services.CustomerFeedService.GetCustomerFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerFeeds/*}" + } + ] + }, + { + "shortName": "MutateCustomerFeeds", + "fullName": "google.ads.googleads.v4.services.CustomerFeedService.MutateCustomerFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerLabelService", + "fullName": "google.ads.googleads.v4.services.CustomerLabelService", + "methods": [ + { + "shortName": "GetCustomerLabel", + "fullName": "google.ads.googleads.v4.services.CustomerLabelService.GetCustomerLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerLabels/*}" + } + ] + }, + { + "shortName": "MutateCustomerLabels", + "fullName": "google.ads.googleads.v4.services.CustomerLabelService.MutateCustomerLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerManagerLinkService", + "fullName": "google.ads.googleads.v4.services.CustomerManagerLinkService", + "methods": [ + { + "shortName": "GetCustomerManagerLink", + "fullName": "google.ads.googleads.v4.services.CustomerManagerLinkService.GetCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerManagerLinks/*}" + } + ] + }, + { + "shortName": "MoveManagerLink", + "fullName": "google.ads.googleads.v4.services.CustomerManagerLinkService.MoveManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + } + ] + }, + { + "shortName": "MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v4.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerManagerLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v4.services.CustomerNegativeCriterionService", + "methods": [ + { + "shortName": "GetCustomerNegativeCriterion", + "fullName": "google.ads.googleads.v4.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customerNegativeCriteria/*}" + } + ] + }, + { + "shortName": "MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v4.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customerNegativeCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerService", + "fullName": "google.ads.googleads.v4.services.CustomerService", + "methods": [ + { + "shortName": "CreateCustomerClient", + "fullName": "google.ads.googleads.v4.services.CustomerService.CreateCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:createCustomerClient" + } + ] + }, + { + "shortName": "GetCustomer", + "fullName": "google.ads.googleads.v4.services.CustomerService.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*}" + } + ] + }, + { + "shortName": "ListAccessibleCustomers", + "fullName": "google.ads.googleads.v4.services.CustomerService.ListAccessibleCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/customers:listAccessibleCustomers" + } + ] + }, + { + "shortName": "MutateCustomer", + "fullName": "google.ads.googleads.v4.services.CustomerService.MutateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomInterestService", + "fullName": "google.ads.googleads.v4.services.CustomInterestService", + "methods": [ + { + "shortName": "GetCustomInterest", + "fullName": "google.ads.googleads.v4.services.CustomInterestService.GetCustomInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/customInterests/*}" + } + ] + }, + { + "shortName": "MutateCustomInterests", + "fullName": "google.ads.googleads.v4.services.CustomInterestService.MutateCustomInterests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/customInterests:mutate" + } + ] + } + ] + }, + { + "shortName": "DetailPlacementViewService", + "fullName": "google.ads.googleads.v4.services.DetailPlacementViewService", + "methods": [ + { + "shortName": "GetDetailPlacementView", + "fullName": "google.ads.googleads.v4.services.DetailPlacementViewService.GetDetailPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/detailPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "DisplayKeywordViewService", + "fullName": "google.ads.googleads.v4.services.DisplayKeywordViewService", + "methods": [ + { + "shortName": "GetDisplayKeywordView", + "fullName": "google.ads.googleads.v4.services.DisplayKeywordViewService.GetDisplayKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/displayKeywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "DistanceViewService", + "fullName": "google.ads.googleads.v4.services.DistanceViewService", + "methods": [ + { + "shortName": "GetDistanceView", + "fullName": "google.ads.googleads.v4.services.DistanceViewService.GetDistanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/distanceViews/*}" + } + ] + } + ] + }, + { + "shortName": "DomainCategoryService", + "fullName": "google.ads.googleads.v4.services.DomainCategoryService", + "methods": [ + { + "shortName": "GetDomainCategory", + "fullName": "google.ads.googleads.v4.services.DomainCategoryService.GetDomainCategory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/domainCategories/*}" + } + ] + } + ] + }, + { + "shortName": "DynamicSearchAdsSearchTermViewService", + "fullName": "google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService", + "methods": [ + { + "shortName": "GetDynamicSearchAdsSearchTermView", + "fullName": "google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExpandedLandingPageViewService", + "fullName": "google.ads.googleads.v4.services.ExpandedLandingPageViewService", + "methods": [ + { + "shortName": "GetExpandedLandingPageView", + "fullName": "google.ads.googleads.v4.services.ExpandedLandingPageViewService.GetExpandedLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/expandedLandingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExtensionFeedItemService", + "fullName": "google.ads.googleads.v4.services.ExtensionFeedItemService", + "methods": [ + { + "shortName": "GetExtensionFeedItem", + "fullName": "google.ads.googleads.v4.services.ExtensionFeedItemService.GetExtensionFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/extensionFeedItems/*}" + } + ] + }, + { + "shortName": "MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v4.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/extensionFeedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemService", + "fullName": "google.ads.googleads.v4.services.FeedItemService", + "methods": [ + { + "shortName": "GetFeedItem", + "fullName": "google.ads.googleads.v4.services.FeedItemService.GetFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/feedItems/*}" + } + ] + }, + { + "shortName": "MutateFeedItems", + "fullName": "google.ads.googleads.v4.services.FeedItemService.MutateFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/feedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemTargetService", + "fullName": "google.ads.googleads.v4.services.FeedItemTargetService", + "methods": [ + { + "shortName": "GetFeedItemTarget", + "fullName": "google.ads.googleads.v4.services.FeedItemTargetService.GetFeedItemTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/feedItemTargets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemTargets", + "fullName": "google.ads.googleads.v4.services.FeedItemTargetService.MutateFeedItemTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/feedItemTargets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedMappingService", + "fullName": "google.ads.googleads.v4.services.FeedMappingService", + "methods": [ + { + "shortName": "GetFeedMapping", + "fullName": "google.ads.googleads.v4.services.FeedMappingService.GetFeedMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/feedMappings/*}" + } + ] + }, + { + "shortName": "MutateFeedMappings", + "fullName": "google.ads.googleads.v4.services.FeedMappingService.MutateFeedMappings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/feedMappings:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedPlaceholderViewService", + "fullName": "google.ads.googleads.v4.services.FeedPlaceholderViewService", + "methods": [ + { + "shortName": "GetFeedPlaceholderView", + "fullName": "google.ads.googleads.v4.services.FeedPlaceholderViewService.GetFeedPlaceholderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/feedPlaceholderViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeedService", + "fullName": "google.ads.googleads.v4.services.FeedService", + "methods": [ + { + "shortName": "GetFeed", + "fullName": "google.ads.googleads.v4.services.FeedService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/feeds/*}" + } + ] + }, + { + "shortName": "MutateFeeds", + "fullName": "google.ads.googleads.v4.services.FeedService.MutateFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/feeds:mutate" + } + ] + } + ] + }, + { + "shortName": "GenderViewService", + "fullName": "google.ads.googleads.v4.services.GenderViewService", + "methods": [ + { + "shortName": "GetGenderView", + "fullName": "google.ads.googleads.v4.services.GenderViewService.GetGenderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/genderViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeographicViewService", + "fullName": "google.ads.googleads.v4.services.GeographicViewService", + "methods": [ + { + "shortName": "GetGeographicView", + "fullName": "google.ads.googleads.v4.services.GeographicViewService.GetGeographicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/geographicViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeoTargetConstantService", + "fullName": "google.ads.googleads.v4.services.GeoTargetConstantService", + "methods": [ + { + "shortName": "GetGeoTargetConstant", + "fullName": "google.ads.googleads.v4.services.GeoTargetConstantService.GetGeoTargetConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=geoTargetConstants/*}" + } + ] + }, + { + "shortName": "SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v4.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/geoTargetConstants:suggest" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsFieldService", + "fullName": "google.ads.googleads.v4.services.GoogleAdsFieldService", + "methods": [ + { + "shortName": "GetGoogleAdsField", + "fullName": "google.ads.googleads.v4.services.GoogleAdsFieldService.GetGoogleAdsField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=googleAdsFields/*}" + } + ] + }, + { + "shortName": "SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v4.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/googleAdsFields:search" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsService", + "fullName": "google.ads.googleads.v4.services.GoogleAdsService", + "methods": [ + { + "shortName": "Mutate", + "fullName": "google.ads.googleads.v4.services.GoogleAdsService.Mutate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/googleAds:mutate" + } + ] + }, + { + "shortName": "Search", + "fullName": "google.ads.googleads.v4.services.GoogleAdsService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/googleAds:search" + } + ] + }, + { + "shortName": "SearchStream", + "fullName": "google.ads.googleads.v4.services.GoogleAdsService.SearchStream", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/googleAds:searchStream" + } + ] + } + ] + }, + { + "shortName": "GroupPlacementViewService", + "fullName": "google.ads.googleads.v4.services.GroupPlacementViewService", + "methods": [ + { + "shortName": "GetGroupPlacementView", + "fullName": "google.ads.googleads.v4.services.GroupPlacementViewService.GetGroupPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/groupPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelGroupViewService", + "fullName": "google.ads.googleads.v4.services.HotelGroupViewService", + "methods": [ + { + "shortName": "GetHotelGroupView", + "fullName": "google.ads.googleads.v4.services.HotelGroupViewService.GetHotelGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/hotelGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelPerformanceViewService", + "fullName": "google.ads.googleads.v4.services.HotelPerformanceViewService", + "methods": [ + { + "shortName": "GetHotelPerformanceView", + "fullName": "google.ads.googleads.v4.services.HotelPerformanceViewService.GetHotelPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/hotelPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "IncomeRangeViewService", + "fullName": "google.ads.googleads.v4.services.IncomeRangeViewService", + "methods": [ + { + "shortName": "GetIncomeRangeView", + "fullName": "google.ads.googleads.v4.services.IncomeRangeViewService.GetIncomeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/incomeRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "InvoiceService", + "fullName": "google.ads.googleads.v4.services.InvoiceService", + "methods": [ + { + "shortName": "ListInvoices", + "fullName": "google.ads.googleads.v4.services.InvoiceService.ListInvoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/customers/{customer_id=*}/invoices" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroupKeyword", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordPlanAdGroupKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroup", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordPlanAdGroups/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v4.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaignKeyword", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordPlanCampaignKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaign", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignService.GetKeywordPlanCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordPlanCampaigns/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v4.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanIdeaService", + "methods": [ + { + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v4.services.KeywordPlanIdeaService.GenerateKeywordIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:generateKeywordIdeas" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService", + "methods": [ + { + "shortName": "GenerateForecastCurve", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastCurve", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" + } + ] + }, + { + "shortName": "GenerateForecastMetrics", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" + } + ] + }, + { + "shortName": "GenerateHistoricalMetrics", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService.GenerateHistoricalMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + } + ] + }, + { + "shortName": "GetKeywordPlan", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService.GetKeywordPlan", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordPlans/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlans", + "fullName": "google.ads.googleads.v4.services.KeywordPlanService.MutateKeywordPlans", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/keywordPlans:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordViewService", + "fullName": "google.ads.googleads.v4.services.KeywordViewService", + "methods": [ + { + "shortName": "GetKeywordView", + "fullName": "google.ads.googleads.v4.services.KeywordViewService.GetKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/keywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "LabelService", + "fullName": "google.ads.googleads.v4.services.LabelService", + "methods": [ + { + "shortName": "GetLabel", + "fullName": "google.ads.googleads.v4.services.LabelService.GetLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/labels/*}" + } + ] + }, + { + "shortName": "MutateLabels", + "fullName": "google.ads.googleads.v4.services.LabelService.MutateLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/labels:mutate" + } + ] + } + ] + }, + { + "shortName": "LandingPageViewService", + "fullName": "google.ads.googleads.v4.services.LandingPageViewService", + "methods": [ + { + "shortName": "GetLandingPageView", + "fullName": "google.ads.googleads.v4.services.LandingPageViewService.GetLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/landingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "LanguageConstantService", + "fullName": "google.ads.googleads.v4.services.LanguageConstantService", + "methods": [ + { + "shortName": "GetLanguageConstant", + "fullName": "google.ads.googleads.v4.services.LanguageConstantService.GetLanguageConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=languageConstants/*}" + } + ] + } + ] + }, + { + "shortName": "LocationViewService", + "fullName": "google.ads.googleads.v4.services.LocationViewService", + "methods": [ + { + "shortName": "GetLocationView", + "fullName": "google.ads.googleads.v4.services.LocationViewService.GetLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/locationViews/*}" + } + ] + } + ] + }, + { + "shortName": "ManagedPlacementViewService", + "fullName": "google.ads.googleads.v4.services.ManagedPlacementViewService", + "methods": [ + { + "shortName": "GetManagedPlacementView", + "fullName": "google.ads.googleads.v4.services.ManagedPlacementViewService.GetManagedPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/managedPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "MediaFileService", + "fullName": "google.ads.googleads.v4.services.MediaFileService", + "methods": [ + { + "shortName": "GetMediaFile", + "fullName": "google.ads.googleads.v4.services.MediaFileService.GetMediaFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/mediaFiles/*}" + } + ] + }, + { + "shortName": "MutateMediaFiles", + "fullName": "google.ads.googleads.v4.services.MediaFileService.MutateMediaFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/mediaFiles:mutate" + } + ] + } + ] + }, + { + "shortName": "MerchantCenterLinkService", + "fullName": "google.ads.googleads.v4.services.MerchantCenterLinkService", + "methods": [ + { + "shortName": "GetMerchantCenterLink", + "fullName": "google.ads.googleads.v4.services.MerchantCenterLinkService.GetMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/merchantCenterLinks/*}" + } + ] + }, + { + "shortName": "ListMerchantCenterLinks", + "fullName": "google.ads.googleads.v4.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/customers/{customer_id=*}/merchantCenterLinks" + } + ] + }, + { + "shortName": "MutateMerchantCenterLink", + "fullName": "google.ads.googleads.v4.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/merchantCenterLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "MobileAppCategoryConstantService", + "fullName": "google.ads.googleads.v4.services.MobileAppCategoryConstantService", + "methods": [ + { + "shortName": "GetMobileAppCategoryConstant", + "fullName": "google.ads.googleads.v4.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=mobileAppCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "MobileDeviceConstantService", + "fullName": "google.ads.googleads.v4.services.MobileDeviceConstantService", + "methods": [ + { + "shortName": "GetMobileDeviceConstant", + "fullName": "google.ads.googleads.v4.services.MobileDeviceConstantService.GetMobileDeviceConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=mobileDeviceConstants/*}" + } + ] + } + ] + }, + { + "shortName": "OfflineUserDataJobService", + "fullName": "google.ads.googleads.v4.services.OfflineUserDataJobService", + "methods": [ + { + "shortName": "AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v4.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + } + ] + }, + { + "shortName": "CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v4.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/offlineUserDataJobs:create" + } + ] + }, + { + "shortName": "GetOfflineUserDataJob", + "fullName": "google.ads.googleads.v4.services.OfflineUserDataJobService.GetOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/offlineUserDataJobs/*}" + } + ] + }, + { + "shortName": "RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v4.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{resource_name=customers/*/offlineUserDataJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "OperatingSystemVersionConstantService", + "fullName": "google.ads.googleads.v4.services.OperatingSystemVersionConstantService", + "methods": [ + { + "shortName": "GetOperatingSystemVersionConstant", + "fullName": "google.ads.googleads.v4.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=operatingSystemVersionConstants/*}" + } + ] + } + ] + }, + { + "shortName": "PaidOrganicSearchTermViewService", + "fullName": "google.ads.googleads.v4.services.PaidOrganicSearchTermViewService", + "methods": [ + { + "shortName": "GetPaidOrganicSearchTermView", + "fullName": "google.ads.googleads.v4.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/paidOrganicSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ParentalStatusViewService", + "fullName": "google.ads.googleads.v4.services.ParentalStatusViewService", + "methods": [ + { + "shortName": "GetParentalStatusView", + "fullName": "google.ads.googleads.v4.services.ParentalStatusViewService.GetParentalStatusView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/parentalStatusViews/*}" + } + ] + } + ] + }, + { + "shortName": "PaymentsAccountService", + "fullName": "google.ads.googleads.v4.services.PaymentsAccountService", + "methods": [ + { + "shortName": "ListPaymentsAccounts", + "fullName": "google.ads.googleads.v4.services.PaymentsAccountService.ListPaymentsAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/customers/{customer_id=*}/paymentsAccounts" + } + ] + } + ] + }, + { + "shortName": "ProductBiddingCategoryConstantService", + "fullName": "google.ads.googleads.v4.services.ProductBiddingCategoryConstantService", + "methods": [ + { + "shortName": "GetProductBiddingCategoryConstant", + "fullName": "google.ads.googleads.v4.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=productBiddingCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ProductGroupViewService", + "fullName": "google.ads.googleads.v4.services.ProductGroupViewService", + "methods": [ + { + "shortName": "GetProductGroupView", + "fullName": "google.ads.googleads.v4.services.ProductGroupViewService.GetProductGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/productGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "ReachPlanService", + "fullName": "google.ads.googleads.v4.services.ReachPlanService", + "methods": [ + { + "shortName": "GenerateProductMixIdeas", + "fullName": "google.ads.googleads.v4.services.ReachPlanService.GenerateProductMixIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:generateProductMixIdeas" + } + ] + }, + { + "shortName": "GenerateReachForecast", + "fullName": "google.ads.googleads.v4.services.ReachPlanService.GenerateReachForecast", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:generateReachForecast" + } + ] + }, + { + "shortName": "ListPlannableLocations", + "fullName": "google.ads.googleads.v4.services.ReachPlanService.ListPlannableLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4:listPlannableLocations" + } + ] + }, + { + "shortName": "ListPlannableProducts", + "fullName": "google.ads.googleads.v4.services.ReachPlanService.ListPlannableProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4:listPlannableProducts" + } + ] + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.ads.googleads.v4.services.RecommendationService", + "methods": [ + { + "shortName": "ApplyRecommendation", + "fullName": "google.ads.googleads.v4.services.RecommendationService.ApplyRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/recommendations:apply" + } + ] + }, + { + "shortName": "DismissRecommendation", + "fullName": "google.ads.googleads.v4.services.RecommendationService.DismissRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/recommendations:dismiss" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.ads.googleads.v4.services.RecommendationService.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/recommendations/*}" + } + ] + } + ] + }, + { + "shortName": "RemarketingActionService", + "fullName": "google.ads.googleads.v4.services.RemarketingActionService", + "methods": [ + { + "shortName": "GetRemarketingAction", + "fullName": "google.ads.googleads.v4.services.RemarketingActionService.GetRemarketingAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/remarketingActions/*}" + } + ] + }, + { + "shortName": "MutateRemarketingActions", + "fullName": "google.ads.googleads.v4.services.RemarketingActionService.MutateRemarketingActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/remarketingActions:mutate" + } + ] + } + ] + }, + { + "shortName": "SearchTermViewService", + "fullName": "google.ads.googleads.v4.services.SearchTermViewService", + "methods": [ + { + "shortName": "GetSearchTermView", + "fullName": "google.ads.googleads.v4.services.SearchTermViewService.GetSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/searchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "SharedCriterionService", + "fullName": "google.ads.googleads.v4.services.SharedCriterionService", + "methods": [ + { + "shortName": "GetSharedCriterion", + "fullName": "google.ads.googleads.v4.services.SharedCriterionService.GetSharedCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/sharedCriteria/*}" + } + ] + }, + { + "shortName": "MutateSharedCriteria", + "fullName": "google.ads.googleads.v4.services.SharedCriterionService.MutateSharedCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/sharedCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "SharedSetService", + "fullName": "google.ads.googleads.v4.services.SharedSetService", + "methods": [ + { + "shortName": "GetSharedSet", + "fullName": "google.ads.googleads.v4.services.SharedSetService.GetSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/sharedSets/*}" + } + ] + }, + { + "shortName": "MutateSharedSets", + "fullName": "google.ads.googleads.v4.services.SharedSetService.MutateSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/sharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "ShoppingPerformanceViewService", + "fullName": "google.ads.googleads.v4.services.ShoppingPerformanceViewService", + "methods": [ + { + "shortName": "GetShoppingPerformanceView", + "fullName": "google.ads.googleads.v4.services.ShoppingPerformanceViewService.GetShoppingPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/shoppingPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService", + "methods": [ + { + "shortName": "GetThirdPartyAppAnalyticsLink", + "fullName": "google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}" + } + ] + } + ] + }, + { + "shortName": "TopicConstantService", + "fullName": "google.ads.googleads.v4.services.TopicConstantService", + "methods": [ + { + "shortName": "GetTopicConstant", + "fullName": "google.ads.googleads.v4.services.TopicConstantService.GetTopicConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=topicConstants/*}" + } + ] + } + ] + }, + { + "shortName": "TopicViewService", + "fullName": "google.ads.googleads.v4.services.TopicViewService", + "methods": [ + { + "shortName": "GetTopicView", + "fullName": "google.ads.googleads.v4.services.TopicViewService.GetTopicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/topicViews/*}" + } + ] + } + ] + }, + { + "shortName": "UserDataService", + "fullName": "google.ads.googleads.v4.services.UserDataService", + "methods": [ + { + "shortName": "UploadUserData", + "fullName": "google.ads.googleads.v4.services.UserDataService.UploadUserData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}:uploadUserData" + } + ] + } + ] + }, + { + "shortName": "UserInterestService", + "fullName": "google.ads.googleads.v4.services.UserInterestService", + "methods": [ + { + "shortName": "GetUserInterest", + "fullName": "google.ads.googleads.v4.services.UserInterestService.GetUserInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/userInterests/*}" + } + ] + } + ] + }, + { + "shortName": "UserListService", + "fullName": "google.ads.googleads.v4.services.UserListService", + "methods": [ + { + "shortName": "GetUserList", + "fullName": "google.ads.googleads.v4.services.UserListService.GetUserList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/userLists/*}" + } + ] + }, + { + "shortName": "MutateUserLists", + "fullName": "google.ads.googleads.v4.services.UserListService.MutateUserLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/customers/{customer_id=*}/userLists:mutate" + } + ] + } + ] + }, + { + "shortName": "UserLocationViewService", + "fullName": "google.ads.googleads.v4.services.UserLocationViewService", + "methods": [ + { + "shortName": "GetUserLocationView", + "fullName": "google.ads.googleads.v4.services.UserLocationViewService.GetUserLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/userLocationViews/*}" + } + ] + } + ] + }, + { + "shortName": "VideoService", + "fullName": "google.ads.googleads.v4.services.VideoService", + "methods": [ + { + "shortName": "GetVideo", + "fullName": "google.ads.googleads.v4.services.VideoService.GetVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{resource_name=customers/*/videos/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.ads.googleads.v5", + "directory": "google/ads/googleads/v5", + "version": "v5", + "majorVersion": "v5", + "hostName": "googleads.googleapis.com", + "title": "Google Ads API", + "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", + "importDirectories": [ + "google/ads/googleads/v5/common", + "google/ads/googleads/v5/enums", + "google/ads/googleads/v5/errors", + "google/ads/googleads/v5/resources", + "google/ads/googleads/v5/services", + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.ads.googleads.v5.errors": 114, + "com.google.ads.googleads.v5.enums": 225, + "com.google.ads.googleads.v5.common": 28, + "com.google.ads.googleads.v5.resources": 107, + "com.google.ads.googleads.v5.services": 113 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 587 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/ads/googleads/v5/errors;errors": 114, + "google.golang.org/genproto/googleapis/ads/googleads/v5/enums;enums": 225, + "google.golang.org/genproto/googleapis/ads/googleads/v5/common;common": 28, + "google.golang.org/genproto/googleapis/ads/googleads/v5/resources;resources": 107, + "google.golang.org/genproto/googleapis/ads/googleads/v5/services;services": 113 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GAA": 587 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Ads.GoogleAds.V5.Errors": 114, + "Google.Ads.GoogleAds.V5.Enums": 225, + "Google.Ads.GoogleAds.V5.Common": 28, + "Google.Ads.GoogleAds.V5.Resources": 107, + "Google.Ads.GoogleAds.V5.Services": 113 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Ads\\GoogleAds\\V5\\Errors": 114, + "Google\\Ads\\GoogleAds\\V5\\Enums": 225, + "Google\\Ads\\GoogleAds\\V5\\Common": 28, + "Google\\Ads\\GoogleAds\\V5\\Resources": 107, + "Google\\Ads\\GoogleAds\\V5\\Services": 113 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Ads::GoogleAds::V5::Errors": 114, + "Google::Ads::GoogleAds::V5::Enums": 225, + "Google::Ads::GoogleAds::V5::Common": 28, + "Google::Ads::GoogleAds::V5::Resources": 107, + "Google::Ads::GoogleAds::V5::Services": 113 + } + } + }, + "services": [ + { + "shortName": "AccountBudgetProposalService", + "fullName": "google.ads.googleads.v5.services.AccountBudgetProposalService", + "methods": [ + { + "shortName": "GetAccountBudgetProposal", + "fullName": "google.ads.googleads.v5.services.AccountBudgetProposalService.GetAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/accountBudgetProposals/*}" + } + ] + }, + { + "shortName": "MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v5.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/accountBudgetProposals:mutate" + } + ] + } + ] + }, + { + "shortName": "AccountBudgetService", + "fullName": "google.ads.googleads.v5.services.AccountBudgetService", + "methods": [ + { + "shortName": "GetAccountBudget", + "fullName": "google.ads.googleads.v5.services.AccountBudgetService.GetAccountBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/accountBudgets/*}" + } + ] + } + ] + }, + { + "shortName": "AccountLinkService", + "fullName": "google.ads.googleads.v5.services.AccountLinkService", + "methods": [ + { + "shortName": "CreateAccountLink", + "fullName": "google.ads.googleads.v5.services.AccountLinkService.CreateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/accountLinks:create" + } + ] + }, + { + "shortName": "GetAccountLink", + "fullName": "google.ads.googleads.v5.services.AccountLinkService.GetAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/accountLinks/*}" + } + ] + }, + { + "shortName": "MutateAccountLink", + "fullName": "google.ads.googleads.v5.services.AccountLinkService.MutateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/accountLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdAssetViewService", + "fullName": "google.ads.googleads.v5.services.AdGroupAdAssetViewService", + "methods": [ + { + "shortName": "GetAdGroupAdAssetView", + "fullName": "google.ads.googleads.v5.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupAdAssetViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdLabelService", + "fullName": "google.ads.googleads.v5.services.AdGroupAdLabelService", + "methods": [ + { + "shortName": "GetAdGroupAdLabel", + "fullName": "google.ads.googleads.v5.services.AdGroupAdLabelService.GetAdGroupAdLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupAdLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v5.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupAdLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdService", + "fullName": "google.ads.googleads.v5.services.AdGroupAdService", + "methods": [ + { + "shortName": "GetAdGroupAd", + "fullName": "google.ads.googleads.v5.services.AdGroupAdService.GetAdGroupAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupAds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAds", + "fullName": "google.ads.googleads.v5.services.AdGroupAdService.MutateAdGroupAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupAds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAudienceViewService", + "fullName": "google.ads.googleads.v5.services.AdGroupAudienceViewService", + "methods": [ + { + "shortName": "GetAdGroupAudienceView", + "fullName": "google.ads.googleads.v5.services.AdGroupAudienceViewService.GetAdGroupAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupBidModifierService", + "fullName": "google.ads.googleads.v5.services.AdGroupBidModifierService", + "methods": [ + { + "shortName": "GetAdGroupBidModifier", + "fullName": "google.ads.googleads.v5.services.AdGroupBidModifierService.GetAdGroupBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v5.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionLabelService", + "methods": [ + { + "shortName": "GetAdGroupCriterionLabel", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupCriterionLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionService", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionService", + "methods": [ + { + "shortName": "GetAdGroupCriterion", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionService.GetAdGroupCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupCriteria/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionService.MutateAdGroupCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionSimulationService", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionSimulationService", + "methods": [ + { + "shortName": "GetAdGroupCriterionSimulation", + "fullName": "google.ads.googleads.v5.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v5.services.AdGroupExtensionSettingService", + "methods": [ + { + "shortName": "GetAdGroupExtensionSetting", + "fullName": "google.ads.googleads.v5.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v5.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupFeedService", + "fullName": "google.ads.googleads.v5.services.AdGroupFeedService", + "methods": [ + { + "shortName": "GetAdGroupFeed", + "fullName": "google.ads.googleads.v5.services.AdGroupFeedService.GetAdGroupFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupFeeds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v5.services.AdGroupFeedService.MutateAdGroupFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupLabelService", + "fullName": "google.ads.googleads.v5.services.AdGroupLabelService", + "methods": [ + { + "shortName": "GetAdGroupLabel", + "fullName": "google.ads.googleads.v5.services.AdGroupLabelService.GetAdGroupLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupLabels", + "fullName": "google.ads.googleads.v5.services.AdGroupLabelService.MutateAdGroupLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroupLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupService", + "fullName": "google.ads.googleads.v5.services.AdGroupService", + "methods": [ + { + "shortName": "GetAdGroup", + "fullName": "google.ads.googleads.v5.services.AdGroupService.GetAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroups/*}" + } + ] + }, + { + "shortName": "MutateAdGroups", + "fullName": "google.ads.googleads.v5.services.AdGroupService.MutateAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupSimulationService", + "fullName": "google.ads.googleads.v5.services.AdGroupSimulationService", + "methods": [ + { + "shortName": "GetAdGroupSimulation", + "fullName": "google.ads.googleads.v5.services.AdGroupSimulationService.GetAdGroupSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adGroupSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdParameterService", + "fullName": "google.ads.googleads.v5.services.AdParameterService", + "methods": [ + { + "shortName": "GetAdParameter", + "fullName": "google.ads.googleads.v5.services.AdParameterService.GetAdParameter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adParameters/*}" + } + ] + }, + { + "shortName": "MutateAdParameters", + "fullName": "google.ads.googleads.v5.services.AdParameterService.MutateAdParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/adParameters:mutate" + } + ] + } + ] + }, + { + "shortName": "AdScheduleViewService", + "fullName": "google.ads.googleads.v5.services.AdScheduleViewService", + "methods": [ + { + "shortName": "GetAdScheduleView", + "fullName": "google.ads.googleads.v5.services.AdScheduleViewService.GetAdScheduleView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/adScheduleViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdService", + "fullName": "google.ads.googleads.v5.services.AdService", + "methods": [ + { + "shortName": "GetAd", + "fullName": "google.ads.googleads.v5.services.AdService.GetAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/ads/*}" + } + ] + }, + { + "shortName": "MutateAds", + "fullName": "google.ads.googleads.v5.services.AdService.MutateAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/ads:mutate" + } + ] + } + ] + }, + { + "shortName": "AgeRangeViewService", + "fullName": "google.ads.googleads.v5.services.AgeRangeViewService", + "methods": [ + { + "shortName": "GetAgeRangeView", + "fullName": "google.ads.googleads.v5.services.AgeRangeViewService.GetAgeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/ageRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "AssetService", + "fullName": "google.ads.googleads.v5.services.AssetService", + "methods": [ + { + "shortName": "GetAsset", + "fullName": "google.ads.googleads.v5.services.AssetService.GetAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/assets/*}" + } + ] + }, + { + "shortName": "MutateAssets", + "fullName": "google.ads.googleads.v5.services.AssetService.MutateAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/assets:mutate" + } + ] + } + ] + }, + { + "shortName": "BatchJobService", + "fullName": "google.ads.googleads.v5.services.BatchJobService", + "methods": [ + { + "shortName": "AddBatchJobOperations", + "fullName": "google.ads.googleads.v5.services.BatchJobService.AddBatchJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{resource_name=customers/*/batchJobs/*}:addOperations" + } + ] + }, + { + "shortName": "GetBatchJob", + "fullName": "google.ads.googleads.v5.services.BatchJobService.GetBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/batchJobs/*}" + } + ] + }, + { + "shortName": "ListBatchJobResults", + "fullName": "google.ads.googleads.v5.services.BatchJobService.ListBatchJobResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/batchJobs/*}:listResults" + } + ] + }, + { + "shortName": "MutateBatchJob", + "fullName": "google.ads.googleads.v5.services.BatchJobService.MutateBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/batchJobs:mutate" + } + ] + }, + { + "shortName": "RunBatchJob", + "fullName": "google.ads.googleads.v5.services.BatchJobService.RunBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{resource_name=customers/*/batchJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "BiddingStrategyService", + "fullName": "google.ads.googleads.v5.services.BiddingStrategyService", + "methods": [ + { + "shortName": "GetBiddingStrategy", + "fullName": "google.ads.googleads.v5.services.BiddingStrategyService.GetBiddingStrategy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/biddingStrategies/*}" + } + ] + }, + { + "shortName": "MutateBiddingStrategies", + "fullName": "google.ads.googleads.v5.services.BiddingStrategyService.MutateBiddingStrategies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/biddingStrategies:mutate" + } + ] + } + ] + }, + { + "shortName": "BillingSetupService", + "fullName": "google.ads.googleads.v5.services.BillingSetupService", + "methods": [ + { + "shortName": "GetBillingSetup", + "fullName": "google.ads.googleads.v5.services.BillingSetupService.GetBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/billingSetups/*}" + } + ] + }, + { + "shortName": "MutateBillingSetup", + "fullName": "google.ads.googleads.v5.services.BillingSetupService.MutateBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/billingSetups:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAssetService", + "fullName": "google.ads.googleads.v5.services.CampaignAssetService", + "methods": [ + { + "shortName": "GetCampaignAsset", + "fullName": "google.ads.googleads.v5.services.CampaignAssetService.GetCampaignAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignAssets/*}" + } + ] + }, + { + "shortName": "MutateCampaignAssets", + "fullName": "google.ads.googleads.v5.services.CampaignAssetService.MutateCampaignAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAudienceViewService", + "fullName": "google.ads.googleads.v5.services.CampaignAudienceViewService", + "methods": [ + { + "shortName": "GetCampaignAudienceView", + "fullName": "google.ads.googleads.v5.services.CampaignAudienceViewService.GetCampaignAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignBidModifierService", + "fullName": "google.ads.googleads.v5.services.CampaignBidModifierService", + "methods": [ + { + "shortName": "GetCampaignBidModifier", + "fullName": "google.ads.googleads.v5.services.CampaignBidModifierService.GetCampaignBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v5.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignBudgetService", + "fullName": "google.ads.googleads.v5.services.CampaignBudgetService", + "methods": [ + { + "shortName": "GetCampaignBudget", + "fullName": "google.ads.googleads.v5.services.CampaignBudgetService.GetCampaignBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignBudgets/*}" + } + ] + }, + { + "shortName": "MutateCampaignBudgets", + "fullName": "google.ads.googleads.v5.services.CampaignBudgetService.MutateCampaignBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignBudgets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionService", + "fullName": "google.ads.googleads.v5.services.CampaignCriterionService", + "methods": [ + { + "shortName": "GetCampaignCriterion", + "fullName": "google.ads.googleads.v5.services.CampaignCriterionService.GetCampaignCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignCriteria/*}" + } + ] + }, + { + "shortName": "MutateCampaignCriteria", + "fullName": "google.ads.googleads.v5.services.CampaignCriterionService.MutateCampaignCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionSimulationService", + "fullName": "google.ads.googleads.v5.services.CampaignCriterionSimulationService", + "methods": [ + { + "shortName": "GetCampaignCriterionSimulation", + "fullName": "google.ads.googleads.v5.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignDraftService", + "fullName": "google.ads.googleads.v5.services.CampaignDraftService", + "methods": [ + { + "shortName": "GetCampaignDraft", + "fullName": "google.ads.googleads.v5.services.CampaignDraftService.GetCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignDrafts/*}" + } + ] + }, + { + "shortName": "ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v5.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignDrafts", + "fullName": "google.ads.googleads.v5.services.CampaignDraftService.MutateCampaignDrafts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignDrafts:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignDraft", + "fullName": "google.ads.googleads.v5.services.CampaignDraftService.PromoteCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{campaign_draft=customers/*/campaignDrafts/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExperimentService", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService", + "methods": [ + { + "shortName": "CreateCampaignExperiment", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.CreateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignExperiments:create" + } + ] + }, + { + "shortName": "EndCampaignExperiment", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.EndCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{campaign_experiment=customers/*/campaignExperiments/*}:end" + } + ] + }, + { + "shortName": "GetCampaignExperiment", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.GetCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignExperiments/*}" + } + ] + }, + { + "shortName": "GraduateCampaignExperiment", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.GraduateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" + } + ] + }, + { + "shortName": "ListCampaignExperimentAsyncErrors", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignExperiments", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.MutateCampaignExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignExperiments:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignExperiment", + "fullName": "google.ads.googleads.v5.services.CampaignExperimentService.PromoteCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{campaign_experiment=customers/*/campaignExperiments/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v5.services.CampaignExtensionSettingService", + "methods": [ + { + "shortName": "GetCampaignExtensionSetting", + "fullName": "google.ads.googleads.v5.services.CampaignExtensionSettingService.GetCampaignExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v5.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignFeedService", + "fullName": "google.ads.googleads.v5.services.CampaignFeedService", + "methods": [ + { + "shortName": "GetCampaignFeed", + "fullName": "google.ads.googleads.v5.services.CampaignFeedService.GetCampaignFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignFeeds/*}" + } + ] + }, + { + "shortName": "MutateCampaignFeeds", + "fullName": "google.ads.googleads.v5.services.CampaignFeedService.MutateCampaignFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignLabelService", + "fullName": "google.ads.googleads.v5.services.CampaignLabelService", + "methods": [ + { + "shortName": "GetCampaignLabel", + "fullName": "google.ads.googleads.v5.services.CampaignLabelService.GetCampaignLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignLabels/*}" + } + ] + }, + { + "shortName": "MutateCampaignLabels", + "fullName": "google.ads.googleads.v5.services.CampaignLabelService.MutateCampaignLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignService", + "fullName": "google.ads.googleads.v5.services.CampaignService", + "methods": [ + { + "shortName": "GetCampaign", + "fullName": "google.ads.googleads.v5.services.CampaignService.GetCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaigns/*}" + } + ] + }, + { + "shortName": "MutateCampaigns", + "fullName": "google.ads.googleads.v5.services.CampaignService.MutateCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignSharedSetService", + "fullName": "google.ads.googleads.v5.services.CampaignSharedSetService", + "methods": [ + { + "shortName": "GetCampaignSharedSet", + "fullName": "google.ads.googleads.v5.services.CampaignSharedSetService.GetCampaignSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/campaignSharedSets/*}" + } + ] + }, + { + "shortName": "MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v5.services.CampaignSharedSetService.MutateCampaignSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/campaignSharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "CarrierConstantService", + "fullName": "google.ads.googleads.v5.services.CarrierConstantService", + "methods": [ + { + "shortName": "GetCarrierConstant", + "fullName": "google.ads.googleads.v5.services.CarrierConstantService.GetCarrierConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=carrierConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ChangeStatusService", + "fullName": "google.ads.googleads.v5.services.ChangeStatusService", + "methods": [ + { + "shortName": "GetChangeStatus", + "fullName": "google.ads.googleads.v5.services.ChangeStatusService.GetChangeStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/changeStatus/*}" + } + ] + } + ] + }, + { + "shortName": "ClickViewService", + "fullName": "google.ads.googleads.v5.services.ClickViewService", + "methods": [ + { + "shortName": "GetClickView", + "fullName": "google.ads.googleads.v5.services.ClickViewService.GetClickView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/clickViews/*}" + } + ] + } + ] + }, + { + "shortName": "ConversionActionService", + "fullName": "google.ads.googleads.v5.services.ConversionActionService", + "methods": [ + { + "shortName": "GetConversionAction", + "fullName": "google.ads.googleads.v5.services.ConversionActionService.GetConversionAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/conversionActions/*}" + } + ] + }, + { + "shortName": "MutateConversionActions", + "fullName": "google.ads.googleads.v5.services.ConversionActionService.MutateConversionActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/conversionActions:mutate" + } + ] + } + ] + }, + { + "shortName": "ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v5.services.ConversionAdjustmentUploadService", + "methods": [ + { + "shortName": "UploadConversionAdjustments", + "fullName": "google.ads.googleads.v5.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:uploadConversionAdjustments" + } + ] + } + ] + }, + { + "shortName": "ConversionUploadService", + "fullName": "google.ads.googleads.v5.services.ConversionUploadService", + "methods": [ + { + "shortName": "UploadCallConversions", + "fullName": "google.ads.googleads.v5.services.ConversionUploadService.UploadCallConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:uploadCallConversions" + } + ] + }, + { + "shortName": "UploadClickConversions", + "fullName": "google.ads.googleads.v5.services.ConversionUploadService.UploadClickConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:uploadClickConversions" + } + ] + } + ] + }, + { + "shortName": "CurrencyConstantService", + "fullName": "google.ads.googleads.v5.services.CurrencyConstantService", + "methods": [ + { + "shortName": "GetCurrencyConstant", + "fullName": "google.ads.googleads.v5.services.CurrencyConstantService.GetCurrencyConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=currencyConstants/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerClientLinkService", + "fullName": "google.ads.googleads.v5.services.CustomerClientLinkService", + "methods": [ + { + "shortName": "GetCustomerClientLink", + "fullName": "google.ads.googleads.v5.services.CustomerClientLinkService.GetCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerClientLinks/*}" + } + ] + }, + { + "shortName": "MutateCustomerClientLink", + "fullName": "google.ads.googleads.v5.services.CustomerClientLinkService.MutateCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerClientLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientService", + "fullName": "google.ads.googleads.v5.services.CustomerClientService", + "methods": [ + { + "shortName": "GetCustomerClient", + "fullName": "google.ads.googleads.v5.services.CustomerClientService.GetCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerClients/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v5.services.CustomerExtensionSettingService", + "methods": [ + { + "shortName": "GetCustomerExtensionSetting", + "fullName": "google.ads.googleads.v5.services.CustomerExtensionSettingService.GetCustomerExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v5.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerFeedService", + "fullName": "google.ads.googleads.v5.services.CustomerFeedService", + "methods": [ + { + "shortName": "GetCustomerFeed", + "fullName": "google.ads.googleads.v5.services.CustomerFeedService.GetCustomerFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerFeeds/*}" + } + ] + }, + { + "shortName": "MutateCustomerFeeds", + "fullName": "google.ads.googleads.v5.services.CustomerFeedService.MutateCustomerFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerLabelService", + "fullName": "google.ads.googleads.v5.services.CustomerLabelService", + "methods": [ + { + "shortName": "GetCustomerLabel", + "fullName": "google.ads.googleads.v5.services.CustomerLabelService.GetCustomerLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerLabels/*}" + } + ] + }, + { + "shortName": "MutateCustomerLabels", + "fullName": "google.ads.googleads.v5.services.CustomerLabelService.MutateCustomerLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerManagerLinkService", + "fullName": "google.ads.googleads.v5.services.CustomerManagerLinkService", + "methods": [ + { + "shortName": "GetCustomerManagerLink", + "fullName": "google.ads.googleads.v5.services.CustomerManagerLinkService.GetCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerManagerLinks/*}" + } + ] + }, + { + "shortName": "MoveManagerLink", + "fullName": "google.ads.googleads.v5.services.CustomerManagerLinkService.MoveManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + } + ] + }, + { + "shortName": "MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v5.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerManagerLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v5.services.CustomerNegativeCriterionService", + "methods": [ + { + "shortName": "GetCustomerNegativeCriterion", + "fullName": "google.ads.googleads.v5.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customerNegativeCriteria/*}" + } + ] + }, + { + "shortName": "MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v5.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customerNegativeCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerService", + "fullName": "google.ads.googleads.v5.services.CustomerService", + "methods": [ + { + "shortName": "CreateCustomerClient", + "fullName": "google.ads.googleads.v5.services.CustomerService.CreateCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:createCustomerClient" + } + ] + }, + { + "shortName": "GetCustomer", + "fullName": "google.ads.googleads.v5.services.CustomerService.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*}" + } + ] + }, + { + "shortName": "ListAccessibleCustomers", + "fullName": "google.ads.googleads.v5.services.CustomerService.ListAccessibleCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/customers:listAccessibleCustomers" + } + ] + }, + { + "shortName": "MutateCustomer", + "fullName": "google.ads.googleads.v5.services.CustomerService.MutateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomInterestService", + "fullName": "google.ads.googleads.v5.services.CustomInterestService", + "methods": [ + { + "shortName": "GetCustomInterest", + "fullName": "google.ads.googleads.v5.services.CustomInterestService.GetCustomInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/customInterests/*}" + } + ] + }, + { + "shortName": "MutateCustomInterests", + "fullName": "google.ads.googleads.v5.services.CustomInterestService.MutateCustomInterests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/customInterests:mutate" + } + ] + } + ] + }, + { + "shortName": "DetailPlacementViewService", + "fullName": "google.ads.googleads.v5.services.DetailPlacementViewService", + "methods": [ + { + "shortName": "GetDetailPlacementView", + "fullName": "google.ads.googleads.v5.services.DetailPlacementViewService.GetDetailPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/detailPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "DisplayKeywordViewService", + "fullName": "google.ads.googleads.v5.services.DisplayKeywordViewService", + "methods": [ + { + "shortName": "GetDisplayKeywordView", + "fullName": "google.ads.googleads.v5.services.DisplayKeywordViewService.GetDisplayKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/displayKeywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "DistanceViewService", + "fullName": "google.ads.googleads.v5.services.DistanceViewService", + "methods": [ + { + "shortName": "GetDistanceView", + "fullName": "google.ads.googleads.v5.services.DistanceViewService.GetDistanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/distanceViews/*}" + } + ] + } + ] + }, + { + "shortName": "DomainCategoryService", + "fullName": "google.ads.googleads.v5.services.DomainCategoryService", + "methods": [ + { + "shortName": "GetDomainCategory", + "fullName": "google.ads.googleads.v5.services.DomainCategoryService.GetDomainCategory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/domainCategories/*}" + } + ] + } + ] + }, + { + "shortName": "DynamicSearchAdsSearchTermViewService", + "fullName": "google.ads.googleads.v5.services.DynamicSearchAdsSearchTermViewService", + "methods": [ + { + "shortName": "GetDynamicSearchAdsSearchTermView", + "fullName": "google.ads.googleads.v5.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExpandedLandingPageViewService", + "fullName": "google.ads.googleads.v5.services.ExpandedLandingPageViewService", + "methods": [ + { + "shortName": "GetExpandedLandingPageView", + "fullName": "google.ads.googleads.v5.services.ExpandedLandingPageViewService.GetExpandedLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/expandedLandingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExtensionFeedItemService", + "fullName": "google.ads.googleads.v5.services.ExtensionFeedItemService", + "methods": [ + { + "shortName": "GetExtensionFeedItem", + "fullName": "google.ads.googleads.v5.services.ExtensionFeedItemService.GetExtensionFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/extensionFeedItems/*}" + } + ] + }, + { + "shortName": "MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v5.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/extensionFeedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemService", + "fullName": "google.ads.googleads.v5.services.FeedItemService", + "methods": [ + { + "shortName": "GetFeedItem", + "fullName": "google.ads.googleads.v5.services.FeedItemService.GetFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/feedItems/*}" + } + ] + }, + { + "shortName": "MutateFeedItems", + "fullName": "google.ads.googleads.v5.services.FeedItemService.MutateFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/feedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemTargetService", + "fullName": "google.ads.googleads.v5.services.FeedItemTargetService", + "methods": [ + { + "shortName": "GetFeedItemTarget", + "fullName": "google.ads.googleads.v5.services.FeedItemTargetService.GetFeedItemTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/feedItemTargets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemTargets", + "fullName": "google.ads.googleads.v5.services.FeedItemTargetService.MutateFeedItemTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/feedItemTargets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedMappingService", + "fullName": "google.ads.googleads.v5.services.FeedMappingService", + "methods": [ + { + "shortName": "GetFeedMapping", + "fullName": "google.ads.googleads.v5.services.FeedMappingService.GetFeedMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/feedMappings/*}" + } + ] + }, + { + "shortName": "MutateFeedMappings", + "fullName": "google.ads.googleads.v5.services.FeedMappingService.MutateFeedMappings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/feedMappings:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedPlaceholderViewService", + "fullName": "google.ads.googleads.v5.services.FeedPlaceholderViewService", + "methods": [ + { + "shortName": "GetFeedPlaceholderView", + "fullName": "google.ads.googleads.v5.services.FeedPlaceholderViewService.GetFeedPlaceholderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/feedPlaceholderViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeedService", + "fullName": "google.ads.googleads.v5.services.FeedService", + "methods": [ + { + "shortName": "GetFeed", + "fullName": "google.ads.googleads.v5.services.FeedService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/feeds/*}" + } + ] + }, + { + "shortName": "MutateFeeds", + "fullName": "google.ads.googleads.v5.services.FeedService.MutateFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/feeds:mutate" + } + ] + } + ] + }, + { + "shortName": "GenderViewService", + "fullName": "google.ads.googleads.v5.services.GenderViewService", + "methods": [ + { + "shortName": "GetGenderView", + "fullName": "google.ads.googleads.v5.services.GenderViewService.GetGenderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/genderViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeographicViewService", + "fullName": "google.ads.googleads.v5.services.GeographicViewService", + "methods": [ + { + "shortName": "GetGeographicView", + "fullName": "google.ads.googleads.v5.services.GeographicViewService.GetGeographicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/geographicViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeoTargetConstantService", + "fullName": "google.ads.googleads.v5.services.GeoTargetConstantService", + "methods": [ + { + "shortName": "GetGeoTargetConstant", + "fullName": "google.ads.googleads.v5.services.GeoTargetConstantService.GetGeoTargetConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=geoTargetConstants/*}" + } + ] + }, + { + "shortName": "SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v5.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/geoTargetConstants:suggest" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsFieldService", + "fullName": "google.ads.googleads.v5.services.GoogleAdsFieldService", + "methods": [ + { + "shortName": "GetGoogleAdsField", + "fullName": "google.ads.googleads.v5.services.GoogleAdsFieldService.GetGoogleAdsField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=googleAdsFields/*}" + } + ] + }, + { + "shortName": "SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v5.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/googleAdsFields:search" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsService", + "fullName": "google.ads.googleads.v5.services.GoogleAdsService", + "methods": [ + { + "shortName": "Mutate", + "fullName": "google.ads.googleads.v5.services.GoogleAdsService.Mutate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/googleAds:mutate" + } + ] + }, + { + "shortName": "Search", + "fullName": "google.ads.googleads.v5.services.GoogleAdsService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/googleAds:search" + } + ] + }, + { + "shortName": "SearchStream", + "fullName": "google.ads.googleads.v5.services.GoogleAdsService.SearchStream", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/googleAds:searchStream" + } + ] + } + ] + }, + { + "shortName": "GroupPlacementViewService", + "fullName": "google.ads.googleads.v5.services.GroupPlacementViewService", + "methods": [ + { + "shortName": "GetGroupPlacementView", + "fullName": "google.ads.googleads.v5.services.GroupPlacementViewService.GetGroupPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/groupPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelGroupViewService", + "fullName": "google.ads.googleads.v5.services.HotelGroupViewService", + "methods": [ + { + "shortName": "GetHotelGroupView", + "fullName": "google.ads.googleads.v5.services.HotelGroupViewService.GetHotelGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/hotelGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelPerformanceViewService", + "fullName": "google.ads.googleads.v5.services.HotelPerformanceViewService", + "methods": [ + { + "shortName": "GetHotelPerformanceView", + "fullName": "google.ads.googleads.v5.services.HotelPerformanceViewService.GetHotelPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/hotelPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "IncomeRangeViewService", + "fullName": "google.ads.googleads.v5.services.IncomeRangeViewService", + "methods": [ + { + "shortName": "GetIncomeRangeView", + "fullName": "google.ads.googleads.v5.services.IncomeRangeViewService.GetIncomeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/incomeRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "InvoiceService", + "fullName": "google.ads.googleads.v5.services.InvoiceService", + "methods": [ + { + "shortName": "ListInvoices", + "fullName": "google.ads.googleads.v5.services.InvoiceService.ListInvoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/customers/{customer_id=*}/invoices" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroupKeyword", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordPlanAdGroupKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroup", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordPlanAdGroups/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v5.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaignKeyword", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordPlanCampaignKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaign", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignService.GetKeywordPlanCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordPlanCampaigns/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v5.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanIdeaService", + "methods": [ + { + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v5.services.KeywordPlanIdeaService.GenerateKeywordIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:generateKeywordIdeas" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService", + "methods": [ + { + "shortName": "GenerateForecastCurve", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.GenerateForecastCurve", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" + } + ] + }, + { + "shortName": "GenerateForecastMetrics", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.GenerateForecastMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" + } + ] + }, + { + "shortName": "GenerateForecastTimeSeries", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.GenerateForecastTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + } + ] + }, + { + "shortName": "GenerateHistoricalMetrics", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.GenerateHistoricalMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + } + ] + }, + { + "shortName": "GetKeywordPlan", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.GetKeywordPlan", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordPlans/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlans", + "fullName": "google.ads.googleads.v5.services.KeywordPlanService.MutateKeywordPlans", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/keywordPlans:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordViewService", + "fullName": "google.ads.googleads.v5.services.KeywordViewService", + "methods": [ + { + "shortName": "GetKeywordView", + "fullName": "google.ads.googleads.v5.services.KeywordViewService.GetKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/keywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "LabelService", + "fullName": "google.ads.googleads.v5.services.LabelService", + "methods": [ + { + "shortName": "GetLabel", + "fullName": "google.ads.googleads.v5.services.LabelService.GetLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/labels/*}" + } + ] + }, + { + "shortName": "MutateLabels", + "fullName": "google.ads.googleads.v5.services.LabelService.MutateLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/labels:mutate" + } + ] + } + ] + }, + { + "shortName": "LandingPageViewService", + "fullName": "google.ads.googleads.v5.services.LandingPageViewService", + "methods": [ + { + "shortName": "GetLandingPageView", + "fullName": "google.ads.googleads.v5.services.LandingPageViewService.GetLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/landingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "LanguageConstantService", + "fullName": "google.ads.googleads.v5.services.LanguageConstantService", + "methods": [ + { + "shortName": "GetLanguageConstant", + "fullName": "google.ads.googleads.v5.services.LanguageConstantService.GetLanguageConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=languageConstants/*}" + } + ] + } + ] + }, + { + "shortName": "LocationViewService", + "fullName": "google.ads.googleads.v5.services.LocationViewService", + "methods": [ + { + "shortName": "GetLocationView", + "fullName": "google.ads.googleads.v5.services.LocationViewService.GetLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/locationViews/*}" + } + ] + } + ] + }, + { + "shortName": "ManagedPlacementViewService", + "fullName": "google.ads.googleads.v5.services.ManagedPlacementViewService", + "methods": [ + { + "shortName": "GetManagedPlacementView", + "fullName": "google.ads.googleads.v5.services.ManagedPlacementViewService.GetManagedPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/managedPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "MediaFileService", + "fullName": "google.ads.googleads.v5.services.MediaFileService", + "methods": [ + { + "shortName": "GetMediaFile", + "fullName": "google.ads.googleads.v5.services.MediaFileService.GetMediaFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/mediaFiles/*}" + } + ] + }, + { + "shortName": "MutateMediaFiles", + "fullName": "google.ads.googleads.v5.services.MediaFileService.MutateMediaFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/mediaFiles:mutate" + } + ] + } + ] + }, + { + "shortName": "MerchantCenterLinkService", + "fullName": "google.ads.googleads.v5.services.MerchantCenterLinkService", + "methods": [ + { + "shortName": "GetMerchantCenterLink", + "fullName": "google.ads.googleads.v5.services.MerchantCenterLinkService.GetMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/merchantCenterLinks/*}" + } + ] + }, + { + "shortName": "ListMerchantCenterLinks", + "fullName": "google.ads.googleads.v5.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/customers/{customer_id=*}/merchantCenterLinks" + } + ] + }, + { + "shortName": "MutateMerchantCenterLink", + "fullName": "google.ads.googleads.v5.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/merchantCenterLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "MobileAppCategoryConstantService", + "fullName": "google.ads.googleads.v5.services.MobileAppCategoryConstantService", + "methods": [ + { + "shortName": "GetMobileAppCategoryConstant", + "fullName": "google.ads.googleads.v5.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=mobileAppCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "MobileDeviceConstantService", + "fullName": "google.ads.googleads.v5.services.MobileDeviceConstantService", + "methods": [ + { + "shortName": "GetMobileDeviceConstant", + "fullName": "google.ads.googleads.v5.services.MobileDeviceConstantService.GetMobileDeviceConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=mobileDeviceConstants/*}" + } + ] + } + ] + }, + { + "shortName": "OfflineUserDataJobService", + "fullName": "google.ads.googleads.v5.services.OfflineUserDataJobService", + "methods": [ + { + "shortName": "AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v5.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + } + ] + }, + { + "shortName": "CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v5.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/offlineUserDataJobs:create" + } + ] + }, + { + "shortName": "GetOfflineUserDataJob", + "fullName": "google.ads.googleads.v5.services.OfflineUserDataJobService.GetOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/offlineUserDataJobs/*}" + } + ] + }, + { + "shortName": "RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v5.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{resource_name=customers/*/offlineUserDataJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "OperatingSystemVersionConstantService", + "fullName": "google.ads.googleads.v5.services.OperatingSystemVersionConstantService", + "methods": [ + { + "shortName": "GetOperatingSystemVersionConstant", + "fullName": "google.ads.googleads.v5.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=operatingSystemVersionConstants/*}" + } + ] + } + ] + }, + { + "shortName": "PaidOrganicSearchTermViewService", + "fullName": "google.ads.googleads.v5.services.PaidOrganicSearchTermViewService", + "methods": [ + { + "shortName": "GetPaidOrganicSearchTermView", + "fullName": "google.ads.googleads.v5.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/paidOrganicSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ParentalStatusViewService", + "fullName": "google.ads.googleads.v5.services.ParentalStatusViewService", + "methods": [ + { + "shortName": "GetParentalStatusView", + "fullName": "google.ads.googleads.v5.services.ParentalStatusViewService.GetParentalStatusView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/parentalStatusViews/*}" + } + ] + } + ] + }, + { + "shortName": "PaymentsAccountService", + "fullName": "google.ads.googleads.v5.services.PaymentsAccountService", + "methods": [ + { + "shortName": "ListPaymentsAccounts", + "fullName": "google.ads.googleads.v5.services.PaymentsAccountService.ListPaymentsAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/customers/{customer_id=*}/paymentsAccounts" + } + ] + } + ] + }, + { + "shortName": "ProductBiddingCategoryConstantService", + "fullName": "google.ads.googleads.v5.services.ProductBiddingCategoryConstantService", + "methods": [ + { + "shortName": "GetProductBiddingCategoryConstant", + "fullName": "google.ads.googleads.v5.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=productBiddingCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ProductGroupViewService", + "fullName": "google.ads.googleads.v5.services.ProductGroupViewService", + "methods": [ + { + "shortName": "GetProductGroupView", + "fullName": "google.ads.googleads.v5.services.ProductGroupViewService.GetProductGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/productGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "ReachPlanService", + "fullName": "google.ads.googleads.v5.services.ReachPlanService", + "methods": [ + { + "shortName": "GenerateProductMixIdeas", + "fullName": "google.ads.googleads.v5.services.ReachPlanService.GenerateProductMixIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:generateProductMixIdeas" + } + ] + }, + { + "shortName": "GenerateReachForecast", + "fullName": "google.ads.googleads.v5.services.ReachPlanService.GenerateReachForecast", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:generateReachForecast" + } + ] + }, + { + "shortName": "ListPlannableLocations", + "fullName": "google.ads.googleads.v5.services.ReachPlanService.ListPlannableLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5:listPlannableLocations" + } + ] + }, + { + "shortName": "ListPlannableProducts", + "fullName": "google.ads.googleads.v5.services.ReachPlanService.ListPlannableProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5:listPlannableProducts" + } + ] + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.ads.googleads.v5.services.RecommendationService", + "methods": [ + { + "shortName": "ApplyRecommendation", + "fullName": "google.ads.googleads.v5.services.RecommendationService.ApplyRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/recommendations:apply" + } + ] + }, + { + "shortName": "DismissRecommendation", + "fullName": "google.ads.googleads.v5.services.RecommendationService.DismissRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/recommendations:dismiss" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.ads.googleads.v5.services.RecommendationService.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/recommendations/*}" + } + ] + } + ] + }, + { + "shortName": "RemarketingActionService", + "fullName": "google.ads.googleads.v5.services.RemarketingActionService", + "methods": [ + { + "shortName": "GetRemarketingAction", + "fullName": "google.ads.googleads.v5.services.RemarketingActionService.GetRemarketingAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/remarketingActions/*}" + } + ] + }, + { + "shortName": "MutateRemarketingActions", + "fullName": "google.ads.googleads.v5.services.RemarketingActionService.MutateRemarketingActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/remarketingActions:mutate" + } + ] + } + ] + }, + { + "shortName": "SearchTermViewService", + "fullName": "google.ads.googleads.v5.services.SearchTermViewService", + "methods": [ + { + "shortName": "GetSearchTermView", + "fullName": "google.ads.googleads.v5.services.SearchTermViewService.GetSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/searchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "SharedCriterionService", + "fullName": "google.ads.googleads.v5.services.SharedCriterionService", + "methods": [ + { + "shortName": "GetSharedCriterion", + "fullName": "google.ads.googleads.v5.services.SharedCriterionService.GetSharedCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/sharedCriteria/*}" + } + ] + }, + { + "shortName": "MutateSharedCriteria", + "fullName": "google.ads.googleads.v5.services.SharedCriterionService.MutateSharedCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/sharedCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "SharedSetService", + "fullName": "google.ads.googleads.v5.services.SharedSetService", + "methods": [ + { + "shortName": "GetSharedSet", + "fullName": "google.ads.googleads.v5.services.SharedSetService.GetSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/sharedSets/*}" + } + ] + }, + { + "shortName": "MutateSharedSets", + "fullName": "google.ads.googleads.v5.services.SharedSetService.MutateSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/sharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "ShoppingPerformanceViewService", + "fullName": "google.ads.googleads.v5.services.ShoppingPerformanceViewService", + "methods": [ + { + "shortName": "GetShoppingPerformanceView", + "fullName": "google.ads.googleads.v5.services.ShoppingPerformanceViewService.GetShoppingPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/shoppingPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v5.services.ThirdPartyAppAnalyticsLinkService", + "methods": [ + { + "shortName": "GetThirdPartyAppAnalyticsLink", + "fullName": "google.ads.googleads.v5.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}" + } + ] + }, + { + "shortName": "RegenerateShareableLinkId", + "fullName": "google.ads.googleads.v5.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + } + ] + } + ] + }, + { + "shortName": "TopicConstantService", + "fullName": "google.ads.googleads.v5.services.TopicConstantService", + "methods": [ + { + "shortName": "GetTopicConstant", + "fullName": "google.ads.googleads.v5.services.TopicConstantService.GetTopicConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=topicConstants/*}" + } + ] + } + ] + }, + { + "shortName": "TopicViewService", + "fullName": "google.ads.googleads.v5.services.TopicViewService", + "methods": [ + { + "shortName": "GetTopicView", + "fullName": "google.ads.googleads.v5.services.TopicViewService.GetTopicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/topicViews/*}" + } + ] + } + ] + }, + { + "shortName": "UserDataService", + "fullName": "google.ads.googleads.v5.services.UserDataService", + "methods": [ + { + "shortName": "UploadUserData", + "fullName": "google.ads.googleads.v5.services.UserDataService.UploadUserData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}:uploadUserData" + } + ] + } + ] + }, + { + "shortName": "UserInterestService", + "fullName": "google.ads.googleads.v5.services.UserInterestService", + "methods": [ + { + "shortName": "GetUserInterest", + "fullName": "google.ads.googleads.v5.services.UserInterestService.GetUserInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/userInterests/*}" + } + ] + } + ] + }, + { + "shortName": "UserListService", + "fullName": "google.ads.googleads.v5.services.UserListService", + "methods": [ + { + "shortName": "GetUserList", + "fullName": "google.ads.googleads.v5.services.UserListService.GetUserList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/userLists/*}" + } + ] + }, + { + "shortName": "MutateUserLists", + "fullName": "google.ads.googleads.v5.services.UserListService.MutateUserLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v5/customers/{customer_id=*}/userLists:mutate" + } + ] + } + ] + }, + { + "shortName": "UserLocationViewService", + "fullName": "google.ads.googleads.v5.services.UserLocationViewService", + "methods": [ + { + "shortName": "GetUserLocationView", + "fullName": "google.ads.googleads.v5.services.UserLocationViewService.GetUserLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/userLocationViews/*}" + } + ] + } + ] + }, + { + "shortName": "VideoService", + "fullName": "google.ads.googleads.v5.services.VideoService", + "methods": [ + { + "shortName": "GetVideo", + "fullName": "google.ads.googleads.v5.services.VideoService.GetVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v5/{resource_name=customers/*/videos/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.ads.googleads.v6", + "directory": "google/ads/googleads/v6", + "version": "v6", + "majorVersion": "v6", + "hostName": "googleads.googleapis.com", + "title": "Google Ads API", + "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", + "importDirectories": [ + "google/ads/googleads/v6/common", + "google/ads/googleads/v6/enums", + "google/ads/googleads/v6/errors", + "google/ads/googleads/v6/resources", + "google/ads/googleads/v6/services", + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.ads.googleads.v6.errors": 119, + "com.google.ads.googleads.v6.enums": 245, + "com.google.ads.googleads.v6.common": 30, + "com.google.ads.googleads.v6.resources": 115, + "com.google.ads.googleads.v6.services": 119 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 628 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/ads/googleads/v6/errors;errors": 119, + "google.golang.org/genproto/googleapis/ads/googleads/v6/enums;enums": 245, + "google.golang.org/genproto/googleapis/ads/googleads/v6/common;common": 30, + "google.golang.org/genproto/googleapis/ads/googleads/v6/resources;resources": 115, + "google.golang.org/genproto/googleapis/ads/googleads/v6/services;services": 119 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GAA": 628 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Ads.GoogleAds.V6.Errors": 119, + "Google.Ads.GoogleAds.V6.Enums": 245, + "Google.Ads.GoogleAds.V6.Common": 30, + "Google.Ads.GoogleAds.V6.Resources": 115, + "Google.Ads.GoogleAds.V6.Services": 119 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Ads\\GoogleAds\\V6\\Errors": 119, + "Google\\Ads\\GoogleAds\\V6\\Enums": 245, + "Google\\Ads\\GoogleAds\\V6\\Common": 30, + "Google\\Ads\\GoogleAds\\V6\\Resources": 115, + "Google\\Ads\\GoogleAds\\V6\\Services": 119 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Ads::GoogleAds::V6::Errors": 119, + "Google::Ads::GoogleAds::V6::Enums": 245, + "Google::Ads::GoogleAds::V6::Common": 30, + "Google::Ads::GoogleAds::V6::Resources": 115, + "Google::Ads::GoogleAds::V6::Services": 119 + } + } + }, + "services": [ + { + "shortName": "AccountBudgetProposalService", + "fullName": "google.ads.googleads.v6.services.AccountBudgetProposalService", + "methods": [ + { + "shortName": "GetAccountBudgetProposal", + "fullName": "google.ads.googleads.v6.services.AccountBudgetProposalService.GetAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/accountBudgetProposals/*}" + } + ] + }, + { + "shortName": "MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v6.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/accountBudgetProposals:mutate" + } + ] + } + ] + }, + { + "shortName": "AccountBudgetService", + "fullName": "google.ads.googleads.v6.services.AccountBudgetService", + "methods": [ + { + "shortName": "GetAccountBudget", + "fullName": "google.ads.googleads.v6.services.AccountBudgetService.GetAccountBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/accountBudgets/*}" + } + ] + } + ] + }, + { + "shortName": "AccountLinkService", + "fullName": "google.ads.googleads.v6.services.AccountLinkService", + "methods": [ + { + "shortName": "CreateAccountLink", + "fullName": "google.ads.googleads.v6.services.AccountLinkService.CreateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/accountLinks:create" + } + ] + }, + { + "shortName": "GetAccountLink", + "fullName": "google.ads.googleads.v6.services.AccountLinkService.GetAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/accountLinks/*}" + } + ] + }, + { + "shortName": "MutateAccountLink", + "fullName": "google.ads.googleads.v6.services.AccountLinkService.MutateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/accountLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdAssetViewService", + "fullName": "google.ads.googleads.v6.services.AdGroupAdAssetViewService", + "methods": [ + { + "shortName": "GetAdGroupAdAssetView", + "fullName": "google.ads.googleads.v6.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupAdAssetViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdLabelService", + "fullName": "google.ads.googleads.v6.services.AdGroupAdLabelService", + "methods": [ + { + "shortName": "GetAdGroupAdLabel", + "fullName": "google.ads.googleads.v6.services.AdGroupAdLabelService.GetAdGroupAdLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupAdLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v6.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupAdLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdService", + "fullName": "google.ads.googleads.v6.services.AdGroupAdService", + "methods": [ + { + "shortName": "GetAdGroupAd", + "fullName": "google.ads.googleads.v6.services.AdGroupAdService.GetAdGroupAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupAds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAds", + "fullName": "google.ads.googleads.v6.services.AdGroupAdService.MutateAdGroupAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupAds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAudienceViewService", + "fullName": "google.ads.googleads.v6.services.AdGroupAudienceViewService", + "methods": [ + { + "shortName": "GetAdGroupAudienceView", + "fullName": "google.ads.googleads.v6.services.AdGroupAudienceViewService.GetAdGroupAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupBidModifierService", + "fullName": "google.ads.googleads.v6.services.AdGroupBidModifierService", + "methods": [ + { + "shortName": "GetAdGroupBidModifier", + "fullName": "google.ads.googleads.v6.services.AdGroupBidModifierService.GetAdGroupBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v6.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionLabelService", + "methods": [ + { + "shortName": "GetAdGroupCriterionLabel", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupCriterionLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionService", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionService", + "methods": [ + { + "shortName": "GetAdGroupCriterion", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionService.GetAdGroupCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupCriteria/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionService.MutateAdGroupCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionSimulationService", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionSimulationService", + "methods": [ + { + "shortName": "GetAdGroupCriterionSimulation", + "fullName": "google.ads.googleads.v6.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v6.services.AdGroupExtensionSettingService", + "methods": [ + { + "shortName": "GetAdGroupExtensionSetting", + "fullName": "google.ads.googleads.v6.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v6.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupFeedService", + "fullName": "google.ads.googleads.v6.services.AdGroupFeedService", + "methods": [ + { + "shortName": "GetAdGroupFeed", + "fullName": "google.ads.googleads.v6.services.AdGroupFeedService.GetAdGroupFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupFeeds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v6.services.AdGroupFeedService.MutateAdGroupFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupLabelService", + "fullName": "google.ads.googleads.v6.services.AdGroupLabelService", + "methods": [ + { + "shortName": "GetAdGroupLabel", + "fullName": "google.ads.googleads.v6.services.AdGroupLabelService.GetAdGroupLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupLabels", + "fullName": "google.ads.googleads.v6.services.AdGroupLabelService.MutateAdGroupLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroupLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupService", + "fullName": "google.ads.googleads.v6.services.AdGroupService", + "methods": [ + { + "shortName": "GetAdGroup", + "fullName": "google.ads.googleads.v6.services.AdGroupService.GetAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroups/*}" + } + ] + }, + { + "shortName": "MutateAdGroups", + "fullName": "google.ads.googleads.v6.services.AdGroupService.MutateAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupSimulationService", + "fullName": "google.ads.googleads.v6.services.AdGroupSimulationService", + "methods": [ + { + "shortName": "GetAdGroupSimulation", + "fullName": "google.ads.googleads.v6.services.AdGroupSimulationService.GetAdGroupSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adGroupSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdParameterService", + "fullName": "google.ads.googleads.v6.services.AdParameterService", + "methods": [ + { + "shortName": "GetAdParameter", + "fullName": "google.ads.googleads.v6.services.AdParameterService.GetAdParameter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adParameters/*}" + } + ] + }, + { + "shortName": "MutateAdParameters", + "fullName": "google.ads.googleads.v6.services.AdParameterService.MutateAdParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/adParameters:mutate" + } + ] + } + ] + }, + { + "shortName": "AdScheduleViewService", + "fullName": "google.ads.googleads.v6.services.AdScheduleViewService", + "methods": [ + { + "shortName": "GetAdScheduleView", + "fullName": "google.ads.googleads.v6.services.AdScheduleViewService.GetAdScheduleView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/adScheduleViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdService", + "fullName": "google.ads.googleads.v6.services.AdService", + "methods": [ + { + "shortName": "GetAd", + "fullName": "google.ads.googleads.v6.services.AdService.GetAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/ads/*}" + } + ] + }, + { + "shortName": "MutateAds", + "fullName": "google.ads.googleads.v6.services.AdService.MutateAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/ads:mutate" + } + ] + } + ] + }, + { + "shortName": "AgeRangeViewService", + "fullName": "google.ads.googleads.v6.services.AgeRangeViewService", + "methods": [ + { + "shortName": "GetAgeRangeView", + "fullName": "google.ads.googleads.v6.services.AgeRangeViewService.GetAgeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/ageRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "AssetService", + "fullName": "google.ads.googleads.v6.services.AssetService", + "methods": [ + { + "shortName": "GetAsset", + "fullName": "google.ads.googleads.v6.services.AssetService.GetAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/assets/*}" + } + ] + }, + { + "shortName": "MutateAssets", + "fullName": "google.ads.googleads.v6.services.AssetService.MutateAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/assets:mutate" + } + ] + } + ] + }, + { + "shortName": "BatchJobService", + "fullName": "google.ads.googleads.v6.services.BatchJobService", + "methods": [ + { + "shortName": "AddBatchJobOperations", + "fullName": "google.ads.googleads.v6.services.BatchJobService.AddBatchJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{resource_name=customers/*/batchJobs/*}:addOperations" + } + ] + }, + { + "shortName": "GetBatchJob", + "fullName": "google.ads.googleads.v6.services.BatchJobService.GetBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/batchJobs/*}" + } + ] + }, + { + "shortName": "ListBatchJobResults", + "fullName": "google.ads.googleads.v6.services.BatchJobService.ListBatchJobResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/batchJobs/*}:listResults" + } + ] + }, + { + "shortName": "MutateBatchJob", + "fullName": "google.ads.googleads.v6.services.BatchJobService.MutateBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/batchJobs:mutate" + } + ] + }, + { + "shortName": "RunBatchJob", + "fullName": "google.ads.googleads.v6.services.BatchJobService.RunBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{resource_name=customers/*/batchJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "BiddingStrategyService", + "fullName": "google.ads.googleads.v6.services.BiddingStrategyService", + "methods": [ + { + "shortName": "GetBiddingStrategy", + "fullName": "google.ads.googleads.v6.services.BiddingStrategyService.GetBiddingStrategy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/biddingStrategies/*}" + } + ] + }, + { + "shortName": "MutateBiddingStrategies", + "fullName": "google.ads.googleads.v6.services.BiddingStrategyService.MutateBiddingStrategies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/biddingStrategies:mutate" + } + ] + } + ] + }, + { + "shortName": "BillingSetupService", + "fullName": "google.ads.googleads.v6.services.BillingSetupService", + "methods": [ + { + "shortName": "GetBillingSetup", + "fullName": "google.ads.googleads.v6.services.BillingSetupService.GetBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/billingSetups/*}" + } + ] + }, + { + "shortName": "MutateBillingSetup", + "fullName": "google.ads.googleads.v6.services.BillingSetupService.MutateBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/billingSetups:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAssetService", + "fullName": "google.ads.googleads.v6.services.CampaignAssetService", + "methods": [ + { + "shortName": "GetCampaignAsset", + "fullName": "google.ads.googleads.v6.services.CampaignAssetService.GetCampaignAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignAssets/*}" + } + ] + }, + { + "shortName": "MutateCampaignAssets", + "fullName": "google.ads.googleads.v6.services.CampaignAssetService.MutateCampaignAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAudienceViewService", + "fullName": "google.ads.googleads.v6.services.CampaignAudienceViewService", + "methods": [ + { + "shortName": "GetCampaignAudienceView", + "fullName": "google.ads.googleads.v6.services.CampaignAudienceViewService.GetCampaignAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignBidModifierService", + "fullName": "google.ads.googleads.v6.services.CampaignBidModifierService", + "methods": [ + { + "shortName": "GetCampaignBidModifier", + "fullName": "google.ads.googleads.v6.services.CampaignBidModifierService.GetCampaignBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v6.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignBudgetService", + "fullName": "google.ads.googleads.v6.services.CampaignBudgetService", + "methods": [ + { + "shortName": "GetCampaignBudget", + "fullName": "google.ads.googleads.v6.services.CampaignBudgetService.GetCampaignBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignBudgets/*}" + } + ] + }, + { + "shortName": "MutateCampaignBudgets", + "fullName": "google.ads.googleads.v6.services.CampaignBudgetService.MutateCampaignBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignBudgets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionService", + "fullName": "google.ads.googleads.v6.services.CampaignCriterionService", + "methods": [ + { + "shortName": "GetCampaignCriterion", + "fullName": "google.ads.googleads.v6.services.CampaignCriterionService.GetCampaignCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignCriteria/*}" + } + ] + }, + { + "shortName": "MutateCampaignCriteria", + "fullName": "google.ads.googleads.v6.services.CampaignCriterionService.MutateCampaignCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionSimulationService", + "fullName": "google.ads.googleads.v6.services.CampaignCriterionSimulationService", + "methods": [ + { + "shortName": "GetCampaignCriterionSimulation", + "fullName": "google.ads.googleads.v6.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignDraftService", + "fullName": "google.ads.googleads.v6.services.CampaignDraftService", + "methods": [ + { + "shortName": "GetCampaignDraft", + "fullName": "google.ads.googleads.v6.services.CampaignDraftService.GetCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignDrafts/*}" + } + ] + }, + { + "shortName": "ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v6.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignDrafts", + "fullName": "google.ads.googleads.v6.services.CampaignDraftService.MutateCampaignDrafts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignDrafts:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignDraft", + "fullName": "google.ads.googleads.v6.services.CampaignDraftService.PromoteCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{campaign_draft=customers/*/campaignDrafts/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExperimentService", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService", + "methods": [ + { + "shortName": "CreateCampaignExperiment", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.CreateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignExperiments:create" + } + ] + }, + { + "shortName": "EndCampaignExperiment", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.EndCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{campaign_experiment=customers/*/campaignExperiments/*}:end" + } + ] + }, + { + "shortName": "GetCampaignExperiment", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.GetCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignExperiments/*}" + } + ] + }, + { + "shortName": "GraduateCampaignExperiment", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.GraduateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" + } + ] + }, + { + "shortName": "ListCampaignExperimentAsyncErrors", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignExperiments", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.MutateCampaignExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignExperiments:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignExperiment", + "fullName": "google.ads.googleads.v6.services.CampaignExperimentService.PromoteCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{campaign_experiment=customers/*/campaignExperiments/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v6.services.CampaignExtensionSettingService", + "methods": [ + { + "shortName": "GetCampaignExtensionSetting", + "fullName": "google.ads.googleads.v6.services.CampaignExtensionSettingService.GetCampaignExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v6.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignFeedService", + "fullName": "google.ads.googleads.v6.services.CampaignFeedService", + "methods": [ + { + "shortName": "GetCampaignFeed", + "fullName": "google.ads.googleads.v6.services.CampaignFeedService.GetCampaignFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignFeeds/*}" + } + ] + }, + { + "shortName": "MutateCampaignFeeds", + "fullName": "google.ads.googleads.v6.services.CampaignFeedService.MutateCampaignFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignLabelService", + "fullName": "google.ads.googleads.v6.services.CampaignLabelService", + "methods": [ + { + "shortName": "GetCampaignLabel", + "fullName": "google.ads.googleads.v6.services.CampaignLabelService.GetCampaignLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignLabels/*}" + } + ] + }, + { + "shortName": "MutateCampaignLabels", + "fullName": "google.ads.googleads.v6.services.CampaignLabelService.MutateCampaignLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignService", + "fullName": "google.ads.googleads.v6.services.CampaignService", + "methods": [ + { + "shortName": "GetCampaign", + "fullName": "google.ads.googleads.v6.services.CampaignService.GetCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaigns/*}" + } + ] + }, + { + "shortName": "MutateCampaigns", + "fullName": "google.ads.googleads.v6.services.CampaignService.MutateCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignSharedSetService", + "fullName": "google.ads.googleads.v6.services.CampaignSharedSetService", + "methods": [ + { + "shortName": "GetCampaignSharedSet", + "fullName": "google.ads.googleads.v6.services.CampaignSharedSetService.GetCampaignSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/campaignSharedSets/*}" + } + ] + }, + { + "shortName": "MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v6.services.CampaignSharedSetService.MutateCampaignSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/campaignSharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "CarrierConstantService", + "fullName": "google.ads.googleads.v6.services.CarrierConstantService", + "methods": [ + { + "shortName": "GetCarrierConstant", + "fullName": "google.ads.googleads.v6.services.CarrierConstantService.GetCarrierConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=carrierConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ChangeStatusService", + "fullName": "google.ads.googleads.v6.services.ChangeStatusService", + "methods": [ + { + "shortName": "GetChangeStatus", + "fullName": "google.ads.googleads.v6.services.ChangeStatusService.GetChangeStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/changeStatus/*}" + } + ] + } + ] + }, + { + "shortName": "ClickViewService", + "fullName": "google.ads.googleads.v6.services.ClickViewService", + "methods": [ + { + "shortName": "GetClickView", + "fullName": "google.ads.googleads.v6.services.ClickViewService.GetClickView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/clickViews/*}" + } + ] + } + ] + }, + { + "shortName": "CombinedAudienceService", + "fullName": "google.ads.googleads.v6.services.CombinedAudienceService", + "methods": [ + { + "shortName": "GetCombinedAudience", + "fullName": "google.ads.googleads.v6.services.CombinedAudienceService.GetCombinedAudience", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/combinedAudiences/*}" + } + ] + } + ] + }, + { + "shortName": "ConversionActionService", + "fullName": "google.ads.googleads.v6.services.ConversionActionService", + "methods": [ + { + "shortName": "GetConversionAction", + "fullName": "google.ads.googleads.v6.services.ConversionActionService.GetConversionAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/conversionActions/*}" + } + ] + }, + { + "shortName": "MutateConversionActions", + "fullName": "google.ads.googleads.v6.services.ConversionActionService.MutateConversionActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/conversionActions:mutate" + } + ] + } + ] + }, + { + "shortName": "ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v6.services.ConversionAdjustmentUploadService", + "methods": [ + { + "shortName": "UploadConversionAdjustments", + "fullName": "google.ads.googleads.v6.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:uploadConversionAdjustments" + } + ] + } + ] + }, + { + "shortName": "ConversionUploadService", + "fullName": "google.ads.googleads.v6.services.ConversionUploadService", + "methods": [ + { + "shortName": "UploadCallConversions", + "fullName": "google.ads.googleads.v6.services.ConversionUploadService.UploadCallConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:uploadCallConversions" + } + ] + }, + { + "shortName": "UploadClickConversions", + "fullName": "google.ads.googleads.v6.services.ConversionUploadService.UploadClickConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:uploadClickConversions" + } + ] + } + ] + }, + { + "shortName": "CurrencyConstantService", + "fullName": "google.ads.googleads.v6.services.CurrencyConstantService", + "methods": [ + { + "shortName": "GetCurrencyConstant", + "fullName": "google.ads.googleads.v6.services.CurrencyConstantService.GetCurrencyConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=currencyConstants/*}" + } + ] + } + ] + }, + { + "shortName": "CustomAudienceService", + "fullName": "google.ads.googleads.v6.services.CustomAudienceService", + "methods": [ + { + "shortName": "GetCustomAudience", + "fullName": "google.ads.googleads.v6.services.CustomAudienceService.GetCustomAudience", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customAudiences/*}" + } + ] + }, + { + "shortName": "MutateCustomAudiences", + "fullName": "google.ads.googleads.v6.services.CustomAudienceService.MutateCustomAudiences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customAudiences:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientLinkService", + "fullName": "google.ads.googleads.v6.services.CustomerClientLinkService", + "methods": [ + { + "shortName": "GetCustomerClientLink", + "fullName": "google.ads.googleads.v6.services.CustomerClientLinkService.GetCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerClientLinks/*}" + } + ] + }, + { + "shortName": "MutateCustomerClientLink", + "fullName": "google.ads.googleads.v6.services.CustomerClientLinkService.MutateCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerClientLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientService", + "fullName": "google.ads.googleads.v6.services.CustomerClientService", + "methods": [ + { + "shortName": "GetCustomerClient", + "fullName": "google.ads.googleads.v6.services.CustomerClientService.GetCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerClients/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v6.services.CustomerExtensionSettingService", + "methods": [ + { + "shortName": "GetCustomerExtensionSetting", + "fullName": "google.ads.googleads.v6.services.CustomerExtensionSettingService.GetCustomerExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v6.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerFeedService", + "fullName": "google.ads.googleads.v6.services.CustomerFeedService", + "methods": [ + { + "shortName": "GetCustomerFeed", + "fullName": "google.ads.googleads.v6.services.CustomerFeedService.GetCustomerFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerFeeds/*}" + } + ] + }, + { + "shortName": "MutateCustomerFeeds", + "fullName": "google.ads.googleads.v6.services.CustomerFeedService.MutateCustomerFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerLabelService", + "fullName": "google.ads.googleads.v6.services.CustomerLabelService", + "methods": [ + { + "shortName": "GetCustomerLabel", + "fullName": "google.ads.googleads.v6.services.CustomerLabelService.GetCustomerLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerLabels/*}" + } + ] + }, + { + "shortName": "MutateCustomerLabels", + "fullName": "google.ads.googleads.v6.services.CustomerLabelService.MutateCustomerLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerManagerLinkService", + "fullName": "google.ads.googleads.v6.services.CustomerManagerLinkService", + "methods": [ + { + "shortName": "GetCustomerManagerLink", + "fullName": "google.ads.googleads.v6.services.CustomerManagerLinkService.GetCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerManagerLinks/*}" + } + ] + }, + { + "shortName": "MoveManagerLink", + "fullName": "google.ads.googleads.v6.services.CustomerManagerLinkService.MoveManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + } + ] + }, + { + "shortName": "MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v6.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerManagerLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v6.services.CustomerNegativeCriterionService", + "methods": [ + { + "shortName": "GetCustomerNegativeCriterion", + "fullName": "google.ads.googleads.v6.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerNegativeCriteria/*}" + } + ] + }, + { + "shortName": "MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v6.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerNegativeCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerService", + "fullName": "google.ads.googleads.v6.services.CustomerService", + "methods": [ + { + "shortName": "CreateCustomerClient", + "fullName": "google.ads.googleads.v6.services.CustomerService.CreateCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:createCustomerClient" + } + ] + }, + { + "shortName": "GetCustomer", + "fullName": "google.ads.googleads.v6.services.CustomerService.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*}" + } + ] + }, + { + "shortName": "ListAccessibleCustomers", + "fullName": "google.ads.googleads.v6.services.CustomerService.ListAccessibleCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/customers:listAccessibleCustomers" + } + ] + }, + { + "shortName": "MutateCustomer", + "fullName": "google.ads.googleads.v6.services.CustomerService.MutateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerUserAccessInvitationService", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessInvitationService", + "methods": [ + { + "shortName": "GetCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessInvitationService.GetCustomerUserAccessInvitation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerUserAccessInvitations/*}" + } + ] + }, + { + "shortName": "MutateCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerUserAccessService", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessService", + "methods": [ + { + "shortName": "GetCustomerUserAccess", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessService.GetCustomerUserAccess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customerUserAccesses/*}" + } + ] + }, + { + "shortName": "MutateCustomerUserAccess", + "fullName": "google.ads.googleads.v6.services.CustomerUserAccessService.MutateCustomerUserAccess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customerUserAccesses:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomInterestService", + "fullName": "google.ads.googleads.v6.services.CustomInterestService", + "methods": [ + { + "shortName": "GetCustomInterest", + "fullName": "google.ads.googleads.v6.services.CustomInterestService.GetCustomInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/customInterests/*}" + } + ] + }, + { + "shortName": "MutateCustomInterests", + "fullName": "google.ads.googleads.v6.services.CustomInterestService.MutateCustomInterests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/customInterests:mutate" + } + ] + } + ] + }, + { + "shortName": "DetailPlacementViewService", + "fullName": "google.ads.googleads.v6.services.DetailPlacementViewService", + "methods": [ + { + "shortName": "GetDetailPlacementView", + "fullName": "google.ads.googleads.v6.services.DetailPlacementViewService.GetDetailPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/detailPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "DisplayKeywordViewService", + "fullName": "google.ads.googleads.v6.services.DisplayKeywordViewService", + "methods": [ + { + "shortName": "GetDisplayKeywordView", + "fullName": "google.ads.googleads.v6.services.DisplayKeywordViewService.GetDisplayKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/displayKeywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "DistanceViewService", + "fullName": "google.ads.googleads.v6.services.DistanceViewService", + "methods": [ + { + "shortName": "GetDistanceView", + "fullName": "google.ads.googleads.v6.services.DistanceViewService.GetDistanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/distanceViews/*}" + } + ] + } + ] + }, + { + "shortName": "DomainCategoryService", + "fullName": "google.ads.googleads.v6.services.DomainCategoryService", + "methods": [ + { + "shortName": "GetDomainCategory", + "fullName": "google.ads.googleads.v6.services.DomainCategoryService.GetDomainCategory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/domainCategories/*}" + } + ] + } + ] + }, + { + "shortName": "DynamicSearchAdsSearchTermViewService", + "fullName": "google.ads.googleads.v6.services.DynamicSearchAdsSearchTermViewService", + "methods": [ + { + "shortName": "GetDynamicSearchAdsSearchTermView", + "fullName": "google.ads.googleads.v6.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExpandedLandingPageViewService", + "fullName": "google.ads.googleads.v6.services.ExpandedLandingPageViewService", + "methods": [ + { + "shortName": "GetExpandedLandingPageView", + "fullName": "google.ads.googleads.v6.services.ExpandedLandingPageViewService.GetExpandedLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/expandedLandingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExtensionFeedItemService", + "fullName": "google.ads.googleads.v6.services.ExtensionFeedItemService", + "methods": [ + { + "shortName": "GetExtensionFeedItem", + "fullName": "google.ads.googleads.v6.services.ExtensionFeedItemService.GetExtensionFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/extensionFeedItems/*}" + } + ] + }, + { + "shortName": "MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v6.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/extensionFeedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemService", + "fullName": "google.ads.googleads.v6.services.FeedItemService", + "methods": [ + { + "shortName": "GetFeedItem", + "fullName": "google.ads.googleads.v6.services.FeedItemService.GetFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedItems/*}" + } + ] + }, + { + "shortName": "MutateFeedItems", + "fullName": "google.ads.googleads.v6.services.FeedItemService.MutateFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemSetLinkService", + "fullName": "google.ads.googleads.v6.services.FeedItemSetLinkService", + "methods": [ + { + "shortName": "GetFeedItemSetLink", + "fullName": "google.ads.googleads.v6.services.FeedItemSetLinkService.GetFeedItemSetLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedItemSetLinks/*}" + } + ] + }, + { + "shortName": "MutateFeedItemSetLinks", + "fullName": "google.ads.googleads.v6.services.FeedItemSetLinkService.MutateFeedItemSetLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feedItemSetLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemSetService", + "fullName": "google.ads.googleads.v6.services.FeedItemSetService", + "methods": [ + { + "shortName": "GetFeedItemSet", + "fullName": "google.ads.googleads.v6.services.FeedItemSetService.GetFeedItemSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedItemSets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemSets", + "fullName": "google.ads.googleads.v6.services.FeedItemSetService.MutateFeedItemSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feedItemSets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemTargetService", + "fullName": "google.ads.googleads.v6.services.FeedItemTargetService", + "methods": [ + { + "shortName": "GetFeedItemTarget", + "fullName": "google.ads.googleads.v6.services.FeedItemTargetService.GetFeedItemTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedItemTargets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemTargets", + "fullName": "google.ads.googleads.v6.services.FeedItemTargetService.MutateFeedItemTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feedItemTargets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedMappingService", + "fullName": "google.ads.googleads.v6.services.FeedMappingService", + "methods": [ + { + "shortName": "GetFeedMapping", + "fullName": "google.ads.googleads.v6.services.FeedMappingService.GetFeedMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedMappings/*}" + } + ] + }, + { + "shortName": "MutateFeedMappings", + "fullName": "google.ads.googleads.v6.services.FeedMappingService.MutateFeedMappings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feedMappings:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedPlaceholderViewService", + "fullName": "google.ads.googleads.v6.services.FeedPlaceholderViewService", + "methods": [ + { + "shortName": "GetFeedPlaceholderView", + "fullName": "google.ads.googleads.v6.services.FeedPlaceholderViewService.GetFeedPlaceholderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feedPlaceholderViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeedService", + "fullName": "google.ads.googleads.v6.services.FeedService", + "methods": [ + { + "shortName": "GetFeed", + "fullName": "google.ads.googleads.v6.services.FeedService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/feeds/*}" + } + ] + }, + { + "shortName": "MutateFeeds", + "fullName": "google.ads.googleads.v6.services.FeedService.MutateFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/feeds:mutate" + } + ] + } + ] + }, + { + "shortName": "GenderViewService", + "fullName": "google.ads.googleads.v6.services.GenderViewService", + "methods": [ + { + "shortName": "GetGenderView", + "fullName": "google.ads.googleads.v6.services.GenderViewService.GetGenderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/genderViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeographicViewService", + "fullName": "google.ads.googleads.v6.services.GeographicViewService", + "methods": [ + { + "shortName": "GetGeographicView", + "fullName": "google.ads.googleads.v6.services.GeographicViewService.GetGeographicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/geographicViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeoTargetConstantService", + "fullName": "google.ads.googleads.v6.services.GeoTargetConstantService", + "methods": [ + { + "shortName": "GetGeoTargetConstant", + "fullName": "google.ads.googleads.v6.services.GeoTargetConstantService.GetGeoTargetConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=geoTargetConstants/*}" + } + ] + }, + { + "shortName": "SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v6.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/geoTargetConstants:suggest" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsFieldService", + "fullName": "google.ads.googleads.v6.services.GoogleAdsFieldService", + "methods": [ + { + "shortName": "GetGoogleAdsField", + "fullName": "google.ads.googleads.v6.services.GoogleAdsFieldService.GetGoogleAdsField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=googleAdsFields/*}" + } + ] + }, + { + "shortName": "SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v6.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/googleAdsFields:search" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsService", + "fullName": "google.ads.googleads.v6.services.GoogleAdsService", + "methods": [ + { + "shortName": "Mutate", + "fullName": "google.ads.googleads.v6.services.GoogleAdsService.Mutate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/googleAds:mutate" + } + ] + }, + { + "shortName": "Search", + "fullName": "google.ads.googleads.v6.services.GoogleAdsService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/googleAds:search" + } + ] + }, + { + "shortName": "SearchStream", + "fullName": "google.ads.googleads.v6.services.GoogleAdsService.SearchStream", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/googleAds:searchStream" + } + ] + } + ] + }, + { + "shortName": "GroupPlacementViewService", + "fullName": "google.ads.googleads.v6.services.GroupPlacementViewService", + "methods": [ + { + "shortName": "GetGroupPlacementView", + "fullName": "google.ads.googleads.v6.services.GroupPlacementViewService.GetGroupPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/groupPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelGroupViewService", + "fullName": "google.ads.googleads.v6.services.HotelGroupViewService", + "methods": [ + { + "shortName": "GetHotelGroupView", + "fullName": "google.ads.googleads.v6.services.HotelGroupViewService.GetHotelGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/hotelGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelPerformanceViewService", + "fullName": "google.ads.googleads.v6.services.HotelPerformanceViewService", + "methods": [ + { + "shortName": "GetHotelPerformanceView", + "fullName": "google.ads.googleads.v6.services.HotelPerformanceViewService.GetHotelPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/hotelPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "IncomeRangeViewService", + "fullName": "google.ads.googleads.v6.services.IncomeRangeViewService", + "methods": [ + { + "shortName": "GetIncomeRangeView", + "fullName": "google.ads.googleads.v6.services.IncomeRangeViewService.GetIncomeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/incomeRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "InvoiceService", + "fullName": "google.ads.googleads.v6.services.InvoiceService", + "methods": [ + { + "shortName": "ListInvoices", + "fullName": "google.ads.googleads.v6.services.InvoiceService.ListInvoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/customers/{customer_id=*}/invoices" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroupKeyword", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordPlanAdGroupKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroup", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordPlanAdGroups/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v6.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaignKeyword", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordPlanCampaignKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaign", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignService.GetKeywordPlanCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordPlanCampaigns/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v6.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanIdeaService", + "methods": [ + { + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v6.services.KeywordPlanIdeaService.GenerateKeywordIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:generateKeywordIdeas" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService", + "methods": [ + { + "shortName": "GenerateForecastCurve", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.GenerateForecastCurve", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" + } + ] + }, + { + "shortName": "GenerateForecastMetrics", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.GenerateForecastMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" + } + ] + }, + { + "shortName": "GenerateForecastTimeSeries", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.GenerateForecastTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + } + ] + }, + { + "shortName": "GenerateHistoricalMetrics", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.GenerateHistoricalMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + } + ] + }, + { + "shortName": "GetKeywordPlan", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.GetKeywordPlan", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordPlans/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlans", + "fullName": "google.ads.googleads.v6.services.KeywordPlanService.MutateKeywordPlans", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/keywordPlans:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordViewService", + "fullName": "google.ads.googleads.v6.services.KeywordViewService", + "methods": [ + { + "shortName": "GetKeywordView", + "fullName": "google.ads.googleads.v6.services.KeywordViewService.GetKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/keywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "LabelService", + "fullName": "google.ads.googleads.v6.services.LabelService", + "methods": [ + { + "shortName": "GetLabel", + "fullName": "google.ads.googleads.v6.services.LabelService.GetLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/labels/*}" + } + ] + }, + { + "shortName": "MutateLabels", + "fullName": "google.ads.googleads.v6.services.LabelService.MutateLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/labels:mutate" + } + ] + } + ] + }, + { + "shortName": "LandingPageViewService", + "fullName": "google.ads.googleads.v6.services.LandingPageViewService", + "methods": [ + { + "shortName": "GetLandingPageView", + "fullName": "google.ads.googleads.v6.services.LandingPageViewService.GetLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/landingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "LanguageConstantService", + "fullName": "google.ads.googleads.v6.services.LanguageConstantService", + "methods": [ + { + "shortName": "GetLanguageConstant", + "fullName": "google.ads.googleads.v6.services.LanguageConstantService.GetLanguageConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=languageConstants/*}" + } + ] + } + ] + }, + { + "shortName": "LocationViewService", + "fullName": "google.ads.googleads.v6.services.LocationViewService", + "methods": [ + { + "shortName": "GetLocationView", + "fullName": "google.ads.googleads.v6.services.LocationViewService.GetLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/locationViews/*}" + } + ] + } + ] + }, + { + "shortName": "ManagedPlacementViewService", + "fullName": "google.ads.googleads.v6.services.ManagedPlacementViewService", + "methods": [ + { + "shortName": "GetManagedPlacementView", + "fullName": "google.ads.googleads.v6.services.ManagedPlacementViewService.GetManagedPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/managedPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "MediaFileService", + "fullName": "google.ads.googleads.v6.services.MediaFileService", + "methods": [ + { + "shortName": "GetMediaFile", + "fullName": "google.ads.googleads.v6.services.MediaFileService.GetMediaFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/mediaFiles/*}" + } + ] + }, + { + "shortName": "MutateMediaFiles", + "fullName": "google.ads.googleads.v6.services.MediaFileService.MutateMediaFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/mediaFiles:mutate" + } + ] + } + ] + }, + { + "shortName": "MerchantCenterLinkService", + "fullName": "google.ads.googleads.v6.services.MerchantCenterLinkService", + "methods": [ + { + "shortName": "GetMerchantCenterLink", + "fullName": "google.ads.googleads.v6.services.MerchantCenterLinkService.GetMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/merchantCenterLinks/*}" + } + ] + }, + { + "shortName": "ListMerchantCenterLinks", + "fullName": "google.ads.googleads.v6.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/customers/{customer_id=*}/merchantCenterLinks" + } + ] + }, + { + "shortName": "MutateMerchantCenterLink", + "fullName": "google.ads.googleads.v6.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/merchantCenterLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "MobileAppCategoryConstantService", + "fullName": "google.ads.googleads.v6.services.MobileAppCategoryConstantService", + "methods": [ + { + "shortName": "GetMobileAppCategoryConstant", + "fullName": "google.ads.googleads.v6.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=mobileAppCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "MobileDeviceConstantService", + "fullName": "google.ads.googleads.v6.services.MobileDeviceConstantService", + "methods": [ + { + "shortName": "GetMobileDeviceConstant", + "fullName": "google.ads.googleads.v6.services.MobileDeviceConstantService.GetMobileDeviceConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=mobileDeviceConstants/*}" + } + ] + } + ] + }, + { + "shortName": "OfflineUserDataJobService", + "fullName": "google.ads.googleads.v6.services.OfflineUserDataJobService", + "methods": [ + { + "shortName": "AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v6.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + } + ] + }, + { + "shortName": "CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v6.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/offlineUserDataJobs:create" + } + ] + }, + { + "shortName": "GetOfflineUserDataJob", + "fullName": "google.ads.googleads.v6.services.OfflineUserDataJobService.GetOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/offlineUserDataJobs/*}" + } + ] + }, + { + "shortName": "RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v6.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{resource_name=customers/*/offlineUserDataJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "OperatingSystemVersionConstantService", + "fullName": "google.ads.googleads.v6.services.OperatingSystemVersionConstantService", + "methods": [ + { + "shortName": "GetOperatingSystemVersionConstant", + "fullName": "google.ads.googleads.v6.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=operatingSystemVersionConstants/*}" + } + ] + } + ] + }, + { + "shortName": "PaidOrganicSearchTermViewService", + "fullName": "google.ads.googleads.v6.services.PaidOrganicSearchTermViewService", + "methods": [ + { + "shortName": "GetPaidOrganicSearchTermView", + "fullName": "google.ads.googleads.v6.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/paidOrganicSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ParentalStatusViewService", + "fullName": "google.ads.googleads.v6.services.ParentalStatusViewService", + "methods": [ + { + "shortName": "GetParentalStatusView", + "fullName": "google.ads.googleads.v6.services.ParentalStatusViewService.GetParentalStatusView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/parentalStatusViews/*}" + } + ] + } + ] + }, + { + "shortName": "PaymentsAccountService", + "fullName": "google.ads.googleads.v6.services.PaymentsAccountService", + "methods": [ + { + "shortName": "ListPaymentsAccounts", + "fullName": "google.ads.googleads.v6.services.PaymentsAccountService.ListPaymentsAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/customers/{customer_id=*}/paymentsAccounts" + } + ] + } + ] + }, + { + "shortName": "ProductBiddingCategoryConstantService", + "fullName": "google.ads.googleads.v6.services.ProductBiddingCategoryConstantService", + "methods": [ + { + "shortName": "GetProductBiddingCategoryConstant", + "fullName": "google.ads.googleads.v6.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=productBiddingCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ProductGroupViewService", + "fullName": "google.ads.googleads.v6.services.ProductGroupViewService", + "methods": [ + { + "shortName": "GetProductGroupView", + "fullName": "google.ads.googleads.v6.services.ProductGroupViewService.GetProductGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/productGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "ReachPlanService", + "fullName": "google.ads.googleads.v6.services.ReachPlanService", + "methods": [ + { + "shortName": "GenerateProductMixIdeas", + "fullName": "google.ads.googleads.v6.services.ReachPlanService.GenerateProductMixIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:generateProductMixIdeas" + } + ] + }, + { + "shortName": "GenerateReachForecast", + "fullName": "google.ads.googleads.v6.services.ReachPlanService.GenerateReachForecast", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:generateReachForecast" + } + ] + }, + { + "shortName": "ListPlannableLocations", + "fullName": "google.ads.googleads.v6.services.ReachPlanService.ListPlannableLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6:listPlannableLocations" + } + ] + }, + { + "shortName": "ListPlannableProducts", + "fullName": "google.ads.googleads.v6.services.ReachPlanService.ListPlannableProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6:listPlannableProducts" + } + ] + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.ads.googleads.v6.services.RecommendationService", + "methods": [ + { + "shortName": "ApplyRecommendation", + "fullName": "google.ads.googleads.v6.services.RecommendationService.ApplyRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/recommendations:apply" + } + ] + }, + { + "shortName": "DismissRecommendation", + "fullName": "google.ads.googleads.v6.services.RecommendationService.DismissRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/recommendations:dismiss" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.ads.googleads.v6.services.RecommendationService.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/recommendations/*}" + } + ] + } + ] + }, + { + "shortName": "RemarketingActionService", + "fullName": "google.ads.googleads.v6.services.RemarketingActionService", + "methods": [ + { + "shortName": "GetRemarketingAction", + "fullName": "google.ads.googleads.v6.services.RemarketingActionService.GetRemarketingAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/remarketingActions/*}" + } + ] + }, + { + "shortName": "MutateRemarketingActions", + "fullName": "google.ads.googleads.v6.services.RemarketingActionService.MutateRemarketingActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/remarketingActions:mutate" + } + ] + } + ] + }, + { + "shortName": "SearchTermViewService", + "fullName": "google.ads.googleads.v6.services.SearchTermViewService", + "methods": [ + { + "shortName": "GetSearchTermView", + "fullName": "google.ads.googleads.v6.services.SearchTermViewService.GetSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/searchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "SharedCriterionService", + "fullName": "google.ads.googleads.v6.services.SharedCriterionService", + "methods": [ + { + "shortName": "GetSharedCriterion", + "fullName": "google.ads.googleads.v6.services.SharedCriterionService.GetSharedCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/sharedCriteria/*}" + } + ] + }, + { + "shortName": "MutateSharedCriteria", + "fullName": "google.ads.googleads.v6.services.SharedCriterionService.MutateSharedCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/sharedCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "SharedSetService", + "fullName": "google.ads.googleads.v6.services.SharedSetService", + "methods": [ + { + "shortName": "GetSharedSet", + "fullName": "google.ads.googleads.v6.services.SharedSetService.GetSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/sharedSets/*}" + } + ] + }, + { + "shortName": "MutateSharedSets", + "fullName": "google.ads.googleads.v6.services.SharedSetService.MutateSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/sharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "ShoppingPerformanceViewService", + "fullName": "google.ads.googleads.v6.services.ShoppingPerformanceViewService", + "methods": [ + { + "shortName": "GetShoppingPerformanceView", + "fullName": "google.ads.googleads.v6.services.ShoppingPerformanceViewService.GetShoppingPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/shoppingPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v6.services.ThirdPartyAppAnalyticsLinkService", + "methods": [ + { + "shortName": "GetThirdPartyAppAnalyticsLink", + "fullName": "google.ads.googleads.v6.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}" + } + ] + }, + { + "shortName": "RegenerateShareableLinkId", + "fullName": "google.ads.googleads.v6.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + } + ] + } + ] + }, + { + "shortName": "TopicConstantService", + "fullName": "google.ads.googleads.v6.services.TopicConstantService", + "methods": [ + { + "shortName": "GetTopicConstant", + "fullName": "google.ads.googleads.v6.services.TopicConstantService.GetTopicConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=topicConstants/*}" + } + ] + } + ] + }, + { + "shortName": "TopicViewService", + "fullName": "google.ads.googleads.v6.services.TopicViewService", + "methods": [ + { + "shortName": "GetTopicView", + "fullName": "google.ads.googleads.v6.services.TopicViewService.GetTopicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/topicViews/*}" + } + ] + } + ] + }, + { + "shortName": "UserDataService", + "fullName": "google.ads.googleads.v6.services.UserDataService", + "methods": [ + { + "shortName": "UploadUserData", + "fullName": "google.ads.googleads.v6.services.UserDataService.UploadUserData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}:uploadUserData" + } + ] + } + ] + }, + { + "shortName": "UserInterestService", + "fullName": "google.ads.googleads.v6.services.UserInterestService", + "methods": [ + { + "shortName": "GetUserInterest", + "fullName": "google.ads.googleads.v6.services.UserInterestService.GetUserInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/userInterests/*}" + } + ] + } + ] + }, + { + "shortName": "UserListService", + "fullName": "google.ads.googleads.v6.services.UserListService", + "methods": [ + { + "shortName": "GetUserList", + "fullName": "google.ads.googleads.v6.services.UserListService.GetUserList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/userLists/*}" + } + ] + }, + { + "shortName": "MutateUserLists", + "fullName": "google.ads.googleads.v6.services.UserListService.MutateUserLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v6/customers/{customer_id=*}/userLists:mutate" + } + ] + } + ] + }, + { + "shortName": "UserLocationViewService", + "fullName": "google.ads.googleads.v6.services.UserLocationViewService", + "methods": [ + { + "shortName": "GetUserLocationView", + "fullName": "google.ads.googleads.v6.services.UserLocationViewService.GetUserLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/userLocationViews/*}" + } + ] + } + ] + }, + { + "shortName": "VideoService", + "fullName": "google.ads.googleads.v6.services.VideoService", + "methods": [ + { + "shortName": "GetVideo", + "fullName": "google.ads.googleads.v6.services.VideoService.GetVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v6/{resource_name=customers/*/videos/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.ads.googleads.v7", + "directory": "google/ads/googleads/v7", + "version": "v7", + "majorVersion": "v7", + "hostName": "googleads.googleapis.com", + "title": "Google Ads API", + "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", + "importDirectories": [ + "google/ads/googleads/v7/common", + "google/ads/googleads/v7/enums", + "google/ads/googleads/v7/errors", + "google/ads/googleads/v7/resources", + "google/ads/googleads/v7/services", + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.ads.googleads.v7.errors": 120, + "com.google.ads.googleads.v7.enums": 249, + "com.google.ads.googleads.v7.common": 30, + "com.google.ads.googleads.v7.resources": 122, + "com.google.ads.googleads.v7.services": 126 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 647 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors": 120, + "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums": 249, + "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common": 30, + "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources": 122, + "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services": 126 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GAA": 647 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Ads.GoogleAds.V7.Errors": 120, + "Google.Ads.GoogleAds.V7.Enums": 249, + "Google.Ads.GoogleAds.V7.Common": 30, + "Google.Ads.GoogleAds.V7.Resources": 122, + "Google.Ads.GoogleAds.V7.Services": 126 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Ads\\GoogleAds\\V7\\Errors": 120, + "Google\\Ads\\GoogleAds\\V7\\Enums": 249, + "Google\\Ads\\GoogleAds\\V7\\Common": 30, + "Google\\Ads\\GoogleAds\\V7\\Resources": 122, + "Google\\Ads\\GoogleAds\\V7\\Services": 126 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Ads::GoogleAds::V7::Errors": 120, + "Google::Ads::GoogleAds::V7::Enums": 249, + "Google::Ads::GoogleAds::V7::Common": 30, + "Google::Ads::GoogleAds::V7::Resources": 122, + "Google::Ads::GoogleAds::V7::Services": 126 + } + } + }, + "services": [ + { + "shortName": "AccountBudgetProposalService", + "fullName": "google.ads.googleads.v7.services.AccountBudgetProposalService", + "methods": [ + { + "shortName": "GetAccountBudgetProposal", + "fullName": "google.ads.googleads.v7.services.AccountBudgetProposalService.GetAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/accountBudgetProposals/*}" + } + ] + }, + { + "shortName": "MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v7.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/accountBudgetProposals:mutate" + } + ] + } + ] + }, + { + "shortName": "AccountBudgetService", + "fullName": "google.ads.googleads.v7.services.AccountBudgetService", + "methods": [ + { + "shortName": "GetAccountBudget", + "fullName": "google.ads.googleads.v7.services.AccountBudgetService.GetAccountBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/accountBudgets/*}" + } + ] + } + ] + }, + { + "shortName": "AccountLinkService", + "fullName": "google.ads.googleads.v7.services.AccountLinkService", + "methods": [ + { + "shortName": "CreateAccountLink", + "fullName": "google.ads.googleads.v7.services.AccountLinkService.CreateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/accountLinks:create" + } + ] + }, + { + "shortName": "GetAccountLink", + "fullName": "google.ads.googleads.v7.services.AccountLinkService.GetAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/accountLinks/*}" + } + ] + }, + { + "shortName": "MutateAccountLink", + "fullName": "google.ads.googleads.v7.services.AccountLinkService.MutateAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/accountLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdAssetViewService", + "fullName": "google.ads.googleads.v7.services.AdGroupAdAssetViewService", + "methods": [ + { + "shortName": "GetAdGroupAdAssetView", + "fullName": "google.ads.googleads.v7.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupAdAssetViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdLabelService", + "fullName": "google.ads.googleads.v7.services.AdGroupAdLabelService", + "methods": [ + { + "shortName": "GetAdGroupAdLabel", + "fullName": "google.ads.googleads.v7.services.AdGroupAdLabelService.GetAdGroupAdLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupAdLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v7.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupAdLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAdService", + "fullName": "google.ads.googleads.v7.services.AdGroupAdService", + "methods": [ + { + "shortName": "GetAdGroupAd", + "fullName": "google.ads.googleads.v7.services.AdGroupAdService.GetAdGroupAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupAds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAds", + "fullName": "google.ads.googleads.v7.services.AdGroupAdService.MutateAdGroupAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupAds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAssetService", + "fullName": "google.ads.googleads.v7.services.AdGroupAssetService", + "methods": [ + { + "shortName": "GetAdGroupAsset", + "fullName": "google.ads.googleads.v7.services.AdGroupAssetService.GetAdGroupAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupAssets/*}" + } + ] + }, + { + "shortName": "MutateAdGroupAssets", + "fullName": "google.ads.googleads.v7.services.AdGroupAssetService.MutateAdGroupAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAudienceViewService", + "fullName": "google.ads.googleads.v7.services.AdGroupAudienceViewService", + "methods": [ + { + "shortName": "GetAdGroupAudienceView", + "fullName": "google.ads.googleads.v7.services.AdGroupAudienceViewService.GetAdGroupAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupBidModifierService", + "fullName": "google.ads.googleads.v7.services.AdGroupBidModifierService", + "methods": [ + { + "shortName": "GetAdGroupBidModifier", + "fullName": "google.ads.googleads.v7.services.AdGroupBidModifierService.GetAdGroupBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v7.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionLabelService", + "methods": [ + { + "shortName": "GetAdGroupCriterionLabel", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupCriterionLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionService", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionService", + "methods": [ + { + "shortName": "GetAdGroupCriterion", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionService.GetAdGroupCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupCriteria/*}" + } + ] + }, + { + "shortName": "MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionService.MutateAdGroupCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupCriterionSimulationService", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionSimulationService", + "methods": [ + { + "shortName": "GetAdGroupCriterionSimulation", + "fullName": "google.ads.googleads.v7.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v7.services.AdGroupExtensionSettingService", + "methods": [ + { + "shortName": "GetAdGroupExtensionSetting", + "fullName": "google.ads.googleads.v7.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v7.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupFeedService", + "fullName": "google.ads.googleads.v7.services.AdGroupFeedService", + "methods": [ + { + "shortName": "GetAdGroupFeed", + "fullName": "google.ads.googleads.v7.services.AdGroupFeedService.GetAdGroupFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupFeeds/*}" + } + ] + }, + { + "shortName": "MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v7.services.AdGroupFeedService.MutateAdGroupFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupLabelService", + "fullName": "google.ads.googleads.v7.services.AdGroupLabelService", + "methods": [ + { + "shortName": "GetAdGroupLabel", + "fullName": "google.ads.googleads.v7.services.AdGroupLabelService.GetAdGroupLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupLabels/*}" + } + ] + }, + { + "shortName": "MutateAdGroupLabels", + "fullName": "google.ads.googleads.v7.services.AdGroupLabelService.MutateAdGroupLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroupLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupService", + "fullName": "google.ads.googleads.v7.services.AdGroupService", + "methods": [ + { + "shortName": "GetAdGroup", + "fullName": "google.ads.googleads.v7.services.AdGroupService.GetAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroups/*}" + } + ] + }, + { + "shortName": "MutateAdGroups", + "fullName": "google.ads.googleads.v7.services.AdGroupService.MutateAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupSimulationService", + "fullName": "google.ads.googleads.v7.services.AdGroupSimulationService", + "methods": [ + { + "shortName": "GetAdGroupSimulation", + "fullName": "google.ads.googleads.v7.services.AdGroupSimulationService.GetAdGroupSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adGroupSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "AdParameterService", + "fullName": "google.ads.googleads.v7.services.AdParameterService", + "methods": [ + { + "shortName": "GetAdParameter", + "fullName": "google.ads.googleads.v7.services.AdParameterService.GetAdParameter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adParameters/*}" + } + ] + }, + { + "shortName": "MutateAdParameters", + "fullName": "google.ads.googleads.v7.services.AdParameterService.MutateAdParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/adParameters:mutate" + } + ] + } + ] + }, + { + "shortName": "AdScheduleViewService", + "fullName": "google.ads.googleads.v7.services.AdScheduleViewService", + "methods": [ + { + "shortName": "GetAdScheduleView", + "fullName": "google.ads.googleads.v7.services.AdScheduleViewService.GetAdScheduleView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/adScheduleViews/*}" + } + ] + } + ] + }, + { + "shortName": "AdService", + "fullName": "google.ads.googleads.v7.services.AdService", + "methods": [ + { + "shortName": "GetAd", + "fullName": "google.ads.googleads.v7.services.AdService.GetAd", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/ads/*}" + } + ] + }, + { + "shortName": "MutateAds", + "fullName": "google.ads.googleads.v7.services.AdService.MutateAds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/ads:mutate" + } + ] + } + ] + }, + { + "shortName": "AgeRangeViewService", + "fullName": "google.ads.googleads.v7.services.AgeRangeViewService", + "methods": [ + { + "shortName": "GetAgeRangeView", + "fullName": "google.ads.googleads.v7.services.AgeRangeViewService.GetAgeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/ageRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "AssetService", + "fullName": "google.ads.googleads.v7.services.AssetService", + "methods": [ + { + "shortName": "GetAsset", + "fullName": "google.ads.googleads.v7.services.AssetService.GetAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/assets/*}" + } + ] + }, + { + "shortName": "MutateAssets", + "fullName": "google.ads.googleads.v7.services.AssetService.MutateAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/assets:mutate" + } + ] + } + ] + }, + { + "shortName": "BatchJobService", + "fullName": "google.ads.googleads.v7.services.BatchJobService", + "methods": [ + { + "shortName": "AddBatchJobOperations", + "fullName": "google.ads.googleads.v7.services.BatchJobService.AddBatchJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{resource_name=customers/*/batchJobs/*}:addOperations" + } + ] + }, + { + "shortName": "GetBatchJob", + "fullName": "google.ads.googleads.v7.services.BatchJobService.GetBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/batchJobs/*}" + } + ] + }, + { + "shortName": "ListBatchJobResults", + "fullName": "google.ads.googleads.v7.services.BatchJobService.ListBatchJobResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/batchJobs/*}:listResults" + } + ] + }, + { + "shortName": "MutateBatchJob", + "fullName": "google.ads.googleads.v7.services.BatchJobService.MutateBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/batchJobs:mutate" + } + ] + }, + { + "shortName": "RunBatchJob", + "fullName": "google.ads.googleads.v7.services.BatchJobService.RunBatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{resource_name=customers/*/batchJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "BiddingStrategyService", + "fullName": "google.ads.googleads.v7.services.BiddingStrategyService", + "methods": [ + { + "shortName": "GetBiddingStrategy", + "fullName": "google.ads.googleads.v7.services.BiddingStrategyService.GetBiddingStrategy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/biddingStrategies/*}" + } + ] + }, + { + "shortName": "MutateBiddingStrategies", + "fullName": "google.ads.googleads.v7.services.BiddingStrategyService.MutateBiddingStrategies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/biddingStrategies:mutate" + } + ] + } + ] + }, + { + "shortName": "BiddingStrategySimulationService", + "fullName": "google.ads.googleads.v7.services.BiddingStrategySimulationService", + "methods": [ + { + "shortName": "GetBiddingStrategySimulation", + "fullName": "google.ads.googleads.v7.services.BiddingStrategySimulationService.GetBiddingStrategySimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/biddingStrategySimulations/*}" + } + ] + } + ] + }, + { + "shortName": "BillingSetupService", + "fullName": "google.ads.googleads.v7.services.BillingSetupService", + "methods": [ + { + "shortName": "GetBillingSetup", + "fullName": "google.ads.googleads.v7.services.BillingSetupService.GetBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/billingSetups/*}" + } + ] + }, + { + "shortName": "MutateBillingSetup", + "fullName": "google.ads.googleads.v7.services.BillingSetupService.MutateBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/billingSetups:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAssetService", + "fullName": "google.ads.googleads.v7.services.CampaignAssetService", + "methods": [ + { + "shortName": "GetCampaignAsset", + "fullName": "google.ads.googleads.v7.services.CampaignAssetService.GetCampaignAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignAssets/*}" + } + ] + }, + { + "shortName": "MutateCampaignAssets", + "fullName": "google.ads.googleads.v7.services.CampaignAssetService.MutateCampaignAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignAudienceViewService", + "fullName": "google.ads.googleads.v7.services.CampaignAudienceViewService", + "methods": [ + { + "shortName": "GetCampaignAudienceView", + "fullName": "google.ads.googleads.v7.services.CampaignAudienceViewService.GetCampaignAudienceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignAudienceViews/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignBidModifierService", + "fullName": "google.ads.googleads.v7.services.CampaignBidModifierService", + "methods": [ + { + "shortName": "GetCampaignBidModifier", + "fullName": "google.ads.googleads.v7.services.CampaignBidModifierService.GetCampaignBidModifier", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignBidModifiers/*}" + } + ] + }, + { + "shortName": "MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v7.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignBidModifiers:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignBudgetService", + "fullName": "google.ads.googleads.v7.services.CampaignBudgetService", + "methods": [ + { + "shortName": "GetCampaignBudget", + "fullName": "google.ads.googleads.v7.services.CampaignBudgetService.GetCampaignBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignBudgets/*}" + } + ] + }, + { + "shortName": "MutateCampaignBudgets", + "fullName": "google.ads.googleads.v7.services.CampaignBudgetService.MutateCampaignBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignBudgets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionService", + "fullName": "google.ads.googleads.v7.services.CampaignCriterionService", + "methods": [ + { + "shortName": "GetCampaignCriterion", + "fullName": "google.ads.googleads.v7.services.CampaignCriterionService.GetCampaignCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignCriteria/*}" + } + ] + }, + { + "shortName": "MutateCampaignCriteria", + "fullName": "google.ads.googleads.v7.services.CampaignCriterionService.MutateCampaignCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignCriterionSimulationService", + "fullName": "google.ads.googleads.v7.services.CampaignCriterionSimulationService", + "methods": [ + { + "shortName": "GetCampaignCriterionSimulation", + "fullName": "google.ads.googleads.v7.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignCriterionSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "CampaignDraftService", + "fullName": "google.ads.googleads.v7.services.CampaignDraftService", + "methods": [ + { + "shortName": "GetCampaignDraft", + "fullName": "google.ads.googleads.v7.services.CampaignDraftService.GetCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignDrafts/*}" + } + ] + }, + { + "shortName": "ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v7.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignDrafts", + "fullName": "google.ads.googleads.v7.services.CampaignDraftService.MutateCampaignDrafts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignDrafts:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignDraft", + "fullName": "google.ads.googleads.v7.services.CampaignDraftService.PromoteCampaignDraft", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{campaign_draft=customers/*/campaignDrafts/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExperimentService", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService", + "methods": [ + { + "shortName": "CreateCampaignExperiment", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.CreateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignExperiments:create" + } + ] + }, + { + "shortName": "EndCampaignExperiment", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.EndCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{campaign_experiment=customers/*/campaignExperiments/*}:end" + } + ] + }, + { + "shortName": "GetCampaignExperiment", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.GetCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignExperiments/*}" + } + ] + }, + { + "shortName": "GraduateCampaignExperiment", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.GraduateCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" + } + ] + }, + { + "shortName": "ListCampaignExperimentAsyncErrors", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" + } + ] + }, + { + "shortName": "MutateCampaignExperiments", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.MutateCampaignExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignExperiments:mutate" + } + ] + }, + { + "shortName": "PromoteCampaignExperiment", + "fullName": "google.ads.googleads.v7.services.CampaignExperimentService.PromoteCampaignExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{campaign_experiment=customers/*/campaignExperiments/*}:promote" + } + ] + } + ] + }, + { + "shortName": "CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v7.services.CampaignExtensionSettingService", + "methods": [ + { + "shortName": "GetCampaignExtensionSetting", + "fullName": "google.ads.googleads.v7.services.CampaignExtensionSettingService.GetCampaignExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v7.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignFeedService", + "fullName": "google.ads.googleads.v7.services.CampaignFeedService", + "methods": [ + { + "shortName": "GetCampaignFeed", + "fullName": "google.ads.googleads.v7.services.CampaignFeedService.GetCampaignFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignFeeds/*}" + } + ] + }, + { + "shortName": "MutateCampaignFeeds", + "fullName": "google.ads.googleads.v7.services.CampaignFeedService.MutateCampaignFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignLabelService", + "fullName": "google.ads.googleads.v7.services.CampaignLabelService", + "methods": [ + { + "shortName": "GetCampaignLabel", + "fullName": "google.ads.googleads.v7.services.CampaignLabelService.GetCampaignLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignLabels/*}" + } + ] + }, + { + "shortName": "MutateCampaignLabels", + "fullName": "google.ads.googleads.v7.services.CampaignLabelService.MutateCampaignLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignService", + "fullName": "google.ads.googleads.v7.services.CampaignService", + "methods": [ + { + "shortName": "GetCampaign", + "fullName": "google.ads.googleads.v7.services.CampaignService.GetCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaigns/*}" + } + ] + }, + { + "shortName": "MutateCampaigns", + "fullName": "google.ads.googleads.v7.services.CampaignService.MutateCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignSharedSetService", + "fullName": "google.ads.googleads.v7.services.CampaignSharedSetService", + "methods": [ + { + "shortName": "GetCampaignSharedSet", + "fullName": "google.ads.googleads.v7.services.CampaignSharedSetService.GetCampaignSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignSharedSets/*}" + } + ] + }, + { + "shortName": "MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v7.services.CampaignSharedSetService.MutateCampaignSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/campaignSharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignSimulationService", + "fullName": "google.ads.googleads.v7.services.CampaignSimulationService", + "methods": [ + { + "shortName": "GetCampaignSimulation", + "fullName": "google.ads.googleads.v7.services.CampaignSimulationService.GetCampaignSimulation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/campaignSimulations/*}" + } + ] + } + ] + }, + { + "shortName": "CarrierConstantService", + "fullName": "google.ads.googleads.v7.services.CarrierConstantService", + "methods": [ + { + "shortName": "GetCarrierConstant", + "fullName": "google.ads.googleads.v7.services.CarrierConstantService.GetCarrierConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=carrierConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ChangeStatusService", + "fullName": "google.ads.googleads.v7.services.ChangeStatusService", + "methods": [ + { + "shortName": "GetChangeStatus", + "fullName": "google.ads.googleads.v7.services.ChangeStatusService.GetChangeStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/changeStatus/*}" + } + ] + } + ] + }, + { + "shortName": "ClickViewService", + "fullName": "google.ads.googleads.v7.services.ClickViewService", + "methods": [ + { + "shortName": "GetClickView", + "fullName": "google.ads.googleads.v7.services.ClickViewService.GetClickView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/clickViews/*}" + } + ] + } + ] + }, + { + "shortName": "CombinedAudienceService", + "fullName": "google.ads.googleads.v7.services.CombinedAudienceService", + "methods": [ + { + "shortName": "GetCombinedAudience", + "fullName": "google.ads.googleads.v7.services.CombinedAudienceService.GetCombinedAudience", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/combinedAudiences/*}" + } + ] + } + ] + }, + { + "shortName": "ConversionActionService", + "fullName": "google.ads.googleads.v7.services.ConversionActionService", + "methods": [ + { + "shortName": "GetConversionAction", + "fullName": "google.ads.googleads.v7.services.ConversionActionService.GetConversionAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/conversionActions/*}" + } + ] + }, + { + "shortName": "MutateConversionActions", + "fullName": "google.ads.googleads.v7.services.ConversionActionService.MutateConversionActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/conversionActions:mutate" + } + ] + } + ] + }, + { + "shortName": "ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v7.services.ConversionAdjustmentUploadService", + "methods": [ + { + "shortName": "UploadConversionAdjustments", + "fullName": "google.ads.googleads.v7.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:uploadConversionAdjustments" + } + ] + } + ] + }, + { + "shortName": "ConversionCustomVariableService", + "fullName": "google.ads.googleads.v7.services.ConversionCustomVariableService", + "methods": [ + { + "shortName": "GetConversionCustomVariable", + "fullName": "google.ads.googleads.v7.services.ConversionCustomVariableService.GetConversionCustomVariable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/conversionCustomVariables/*}" + } + ] + }, + { + "shortName": "MutateConversionCustomVariables", + "fullName": "google.ads.googleads.v7.services.ConversionCustomVariableService.MutateConversionCustomVariables", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/conversionCustomVariables:mutate" + } + ] + } + ] + }, + { + "shortName": "ConversionUploadService", + "fullName": "google.ads.googleads.v7.services.ConversionUploadService", + "methods": [ + { + "shortName": "UploadCallConversions", + "fullName": "google.ads.googleads.v7.services.ConversionUploadService.UploadCallConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:uploadCallConversions" + } + ] + }, + { + "shortName": "UploadClickConversions", + "fullName": "google.ads.googleads.v7.services.ConversionUploadService.UploadClickConversions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:uploadClickConversions" + } + ] + } + ] + }, + { + "shortName": "CurrencyConstantService", + "fullName": "google.ads.googleads.v7.services.CurrencyConstantService", + "methods": [ + { + "shortName": "GetCurrencyConstant", + "fullName": "google.ads.googleads.v7.services.CurrencyConstantService.GetCurrencyConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=currencyConstants/*}" + } + ] + } + ] + }, + { + "shortName": "CustomAudienceService", + "fullName": "google.ads.googleads.v7.services.CustomAudienceService", + "methods": [ + { + "shortName": "GetCustomAudience", + "fullName": "google.ads.googleads.v7.services.CustomAudienceService.GetCustomAudience", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customAudiences/*}" + } + ] + }, + { + "shortName": "MutateCustomAudiences", + "fullName": "google.ads.googleads.v7.services.CustomAudienceService.MutateCustomAudiences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customAudiences:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerAssetService", + "fullName": "google.ads.googleads.v7.services.CustomerAssetService", + "methods": [ + { + "shortName": "GetCustomerAsset", + "fullName": "google.ads.googleads.v7.services.CustomerAssetService.GetCustomerAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerAssets/*}" + } + ] + }, + { + "shortName": "MutateCustomerAssets", + "fullName": "google.ads.googleads.v7.services.CustomerAssetService.MutateCustomerAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientLinkService", + "fullName": "google.ads.googleads.v7.services.CustomerClientLinkService", + "methods": [ + { + "shortName": "GetCustomerClientLink", + "fullName": "google.ads.googleads.v7.services.CustomerClientLinkService.GetCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerClientLinks/*}" + } + ] + }, + { + "shortName": "MutateCustomerClientLink", + "fullName": "google.ads.googleads.v7.services.CustomerClientLinkService.MutateCustomerClientLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerClientLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerClientService", + "fullName": "google.ads.googleads.v7.services.CustomerClientService", + "methods": [ + { + "shortName": "GetCustomerClient", + "fullName": "google.ads.googleads.v7.services.CustomerClientService.GetCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerClients/*}" + } + ] + } + ] + }, + { + "shortName": "CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v7.services.CustomerExtensionSettingService", + "methods": [ + { + "shortName": "GetCustomerExtensionSetting", + "fullName": "google.ads.googleads.v7.services.CustomerExtensionSettingService.GetCustomerExtensionSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerExtensionSettings/*}" + } + ] + }, + { + "shortName": "MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v7.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerExtensionSettings:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerFeedService", + "fullName": "google.ads.googleads.v7.services.CustomerFeedService", + "methods": [ + { + "shortName": "GetCustomerFeed", + "fullName": "google.ads.googleads.v7.services.CustomerFeedService.GetCustomerFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerFeeds/*}" + } + ] + }, + { + "shortName": "MutateCustomerFeeds", + "fullName": "google.ads.googleads.v7.services.CustomerFeedService.MutateCustomerFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerFeeds:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerLabelService", + "fullName": "google.ads.googleads.v7.services.CustomerLabelService", + "methods": [ + { + "shortName": "GetCustomerLabel", + "fullName": "google.ads.googleads.v7.services.CustomerLabelService.GetCustomerLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerLabels/*}" + } + ] + }, + { + "shortName": "MutateCustomerLabels", + "fullName": "google.ads.googleads.v7.services.CustomerLabelService.MutateCustomerLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerManagerLinkService", + "fullName": "google.ads.googleads.v7.services.CustomerManagerLinkService", + "methods": [ + { + "shortName": "GetCustomerManagerLink", + "fullName": "google.ads.googleads.v7.services.CustomerManagerLinkService.GetCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerManagerLinks/*}" + } + ] + }, + { + "shortName": "MoveManagerLink", + "fullName": "google.ads.googleads.v7.services.CustomerManagerLinkService.MoveManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + } + ] + }, + { + "shortName": "MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v7.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerManagerLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v7.services.CustomerNegativeCriterionService", + "methods": [ + { + "shortName": "GetCustomerNegativeCriterion", + "fullName": "google.ads.googleads.v7.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerNegativeCriteria/*}" + } + ] + }, + { + "shortName": "MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v7.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerNegativeCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerService", + "fullName": "google.ads.googleads.v7.services.CustomerService", + "methods": [ + { + "shortName": "CreateCustomerClient", + "fullName": "google.ads.googleads.v7.services.CustomerService.CreateCustomerClient", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:createCustomerClient" + } + ] + }, + { + "shortName": "GetCustomer", + "fullName": "google.ads.googleads.v7.services.CustomerService.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*}" + } + ] + }, + { + "shortName": "ListAccessibleCustomers", + "fullName": "google.ads.googleads.v7.services.CustomerService.ListAccessibleCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/customers:listAccessibleCustomers" + } + ] + }, + { + "shortName": "MutateCustomer", + "fullName": "google.ads.googleads.v7.services.CustomerService.MutateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerUserAccessInvitationService", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessInvitationService", + "methods": [ + { + "shortName": "GetCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessInvitationService.GetCustomerUserAccessInvitation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerUserAccessInvitations/*}" + } + ] + }, + { + "shortName": "MutateCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerUserAccessService", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessService", + "methods": [ + { + "shortName": "GetCustomerUserAccess", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessService.GetCustomerUserAccess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customerUserAccesses/*}" + } + ] + }, + { + "shortName": "MutateCustomerUserAccess", + "fullName": "google.ads.googleads.v7.services.CustomerUserAccessService.MutateCustomerUserAccess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customerUserAccesses:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomInterestService", + "fullName": "google.ads.googleads.v7.services.CustomInterestService", + "methods": [ + { + "shortName": "GetCustomInterest", + "fullName": "google.ads.googleads.v7.services.CustomInterestService.GetCustomInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/customInterests/*}" + } + ] + }, + { + "shortName": "MutateCustomInterests", + "fullName": "google.ads.googleads.v7.services.CustomInterestService.MutateCustomInterests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/customInterests:mutate" + } + ] + } + ] + }, + { + "shortName": "DetailPlacementViewService", + "fullName": "google.ads.googleads.v7.services.DetailPlacementViewService", + "methods": [ + { + "shortName": "GetDetailPlacementView", + "fullName": "google.ads.googleads.v7.services.DetailPlacementViewService.GetDetailPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/detailPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "DisplayKeywordViewService", + "fullName": "google.ads.googleads.v7.services.DisplayKeywordViewService", + "methods": [ + { + "shortName": "GetDisplayKeywordView", + "fullName": "google.ads.googleads.v7.services.DisplayKeywordViewService.GetDisplayKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/displayKeywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "DistanceViewService", + "fullName": "google.ads.googleads.v7.services.DistanceViewService", + "methods": [ + { + "shortName": "GetDistanceView", + "fullName": "google.ads.googleads.v7.services.DistanceViewService.GetDistanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/distanceViews/*}" + } + ] + } + ] + }, + { + "shortName": "DomainCategoryService", + "fullName": "google.ads.googleads.v7.services.DomainCategoryService", + "methods": [ + { + "shortName": "GetDomainCategory", + "fullName": "google.ads.googleads.v7.services.DomainCategoryService.GetDomainCategory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/domainCategories/*}" + } + ] + } + ] + }, + { + "shortName": "DynamicSearchAdsSearchTermViewService", + "fullName": "google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService", + "methods": [ + { + "shortName": "GetDynamicSearchAdsSearchTermView", + "fullName": "google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExpandedLandingPageViewService", + "fullName": "google.ads.googleads.v7.services.ExpandedLandingPageViewService", + "methods": [ + { + "shortName": "GetExpandedLandingPageView", + "fullName": "google.ads.googleads.v7.services.ExpandedLandingPageViewService.GetExpandedLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/expandedLandingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "ExtensionFeedItemService", + "fullName": "google.ads.googleads.v7.services.ExtensionFeedItemService", + "methods": [ + { + "shortName": "GetExtensionFeedItem", + "fullName": "google.ads.googleads.v7.services.ExtensionFeedItemService.GetExtensionFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/extensionFeedItems/*}" + } + ] + }, + { + "shortName": "MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v7.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/extensionFeedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemService", + "fullName": "google.ads.googleads.v7.services.FeedItemService", + "methods": [ + { + "shortName": "GetFeedItem", + "fullName": "google.ads.googleads.v7.services.FeedItemService.GetFeedItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedItems/*}" + } + ] + }, + { + "shortName": "MutateFeedItems", + "fullName": "google.ads.googleads.v7.services.FeedItemService.MutateFeedItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feedItems:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemSetLinkService", + "fullName": "google.ads.googleads.v7.services.FeedItemSetLinkService", + "methods": [ + { + "shortName": "GetFeedItemSetLink", + "fullName": "google.ads.googleads.v7.services.FeedItemSetLinkService.GetFeedItemSetLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedItemSetLinks/*}" + } + ] + }, + { + "shortName": "MutateFeedItemSetLinks", + "fullName": "google.ads.googleads.v7.services.FeedItemSetLinkService.MutateFeedItemSetLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feedItemSetLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemSetService", + "fullName": "google.ads.googleads.v7.services.FeedItemSetService", + "methods": [ + { + "shortName": "GetFeedItemSet", + "fullName": "google.ads.googleads.v7.services.FeedItemSetService.GetFeedItemSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedItemSets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemSets", + "fullName": "google.ads.googleads.v7.services.FeedItemSetService.MutateFeedItemSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feedItemSets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedItemTargetService", + "fullName": "google.ads.googleads.v7.services.FeedItemTargetService", + "methods": [ + { + "shortName": "GetFeedItemTarget", + "fullName": "google.ads.googleads.v7.services.FeedItemTargetService.GetFeedItemTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedItemTargets/*}" + } + ] + }, + { + "shortName": "MutateFeedItemTargets", + "fullName": "google.ads.googleads.v7.services.FeedItemTargetService.MutateFeedItemTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feedItemTargets:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedMappingService", + "fullName": "google.ads.googleads.v7.services.FeedMappingService", + "methods": [ + { + "shortName": "GetFeedMapping", + "fullName": "google.ads.googleads.v7.services.FeedMappingService.GetFeedMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedMappings/*}" + } + ] + }, + { + "shortName": "MutateFeedMappings", + "fullName": "google.ads.googleads.v7.services.FeedMappingService.MutateFeedMappings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feedMappings:mutate" + } + ] + } + ] + }, + { + "shortName": "FeedPlaceholderViewService", + "fullName": "google.ads.googleads.v7.services.FeedPlaceholderViewService", + "methods": [ + { + "shortName": "GetFeedPlaceholderView", + "fullName": "google.ads.googleads.v7.services.FeedPlaceholderViewService.GetFeedPlaceholderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feedPlaceholderViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeedService", + "fullName": "google.ads.googleads.v7.services.FeedService", + "methods": [ + { + "shortName": "GetFeed", + "fullName": "google.ads.googleads.v7.services.FeedService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/feeds/*}" + } + ] + }, + { + "shortName": "MutateFeeds", + "fullName": "google.ads.googleads.v7.services.FeedService.MutateFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/feeds:mutate" + } + ] + } + ] + }, + { + "shortName": "GenderViewService", + "fullName": "google.ads.googleads.v7.services.GenderViewService", + "methods": [ + { + "shortName": "GetGenderView", + "fullName": "google.ads.googleads.v7.services.GenderViewService.GetGenderView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/genderViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeographicViewService", + "fullName": "google.ads.googleads.v7.services.GeographicViewService", + "methods": [ + { + "shortName": "GetGeographicView", + "fullName": "google.ads.googleads.v7.services.GeographicViewService.GetGeographicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/geographicViews/*}" + } + ] + } + ] + }, + { + "shortName": "GeoTargetConstantService", + "fullName": "google.ads.googleads.v7.services.GeoTargetConstantService", + "methods": [ + { + "shortName": "GetGeoTargetConstant", + "fullName": "google.ads.googleads.v7.services.GeoTargetConstantService.GetGeoTargetConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=geoTargetConstants/*}" + } + ] + }, + { + "shortName": "SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v7.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/geoTargetConstants:suggest" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsFieldService", + "fullName": "google.ads.googleads.v7.services.GoogleAdsFieldService", + "methods": [ + { + "shortName": "GetGoogleAdsField", + "fullName": "google.ads.googleads.v7.services.GoogleAdsFieldService.GetGoogleAdsField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=googleAdsFields/*}" + } + ] + }, + { + "shortName": "SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v7.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/googleAdsFields:search" + } + ] + } + ] + }, + { + "shortName": "GoogleAdsService", + "fullName": "google.ads.googleads.v7.services.GoogleAdsService", + "methods": [ + { + "shortName": "Mutate", + "fullName": "google.ads.googleads.v7.services.GoogleAdsService.Mutate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/googleAds:mutate" + } + ] + }, + { + "shortName": "Search", + "fullName": "google.ads.googleads.v7.services.GoogleAdsService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/googleAds:search" + } + ] + }, + { + "shortName": "SearchStream", + "fullName": "google.ads.googleads.v7.services.GoogleAdsService.SearchStream", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/googleAds:searchStream" + } + ] + } + ] + }, + { + "shortName": "GroupPlacementViewService", + "fullName": "google.ads.googleads.v7.services.GroupPlacementViewService", + "methods": [ + { + "shortName": "GetGroupPlacementView", + "fullName": "google.ads.googleads.v7.services.GroupPlacementViewService.GetGroupPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/groupPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelGroupViewService", + "fullName": "google.ads.googleads.v7.services.HotelGroupViewService", + "methods": [ + { + "shortName": "GetHotelGroupView", + "fullName": "google.ads.googleads.v7.services.HotelGroupViewService.GetHotelGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/hotelGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "HotelPerformanceViewService", + "fullName": "google.ads.googleads.v7.services.HotelPerformanceViewService", + "methods": [ + { + "shortName": "GetHotelPerformanceView", + "fullName": "google.ads.googleads.v7.services.HotelPerformanceViewService.GetHotelPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/hotelPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "IncomeRangeViewService", + "fullName": "google.ads.googleads.v7.services.IncomeRangeViewService", + "methods": [ + { + "shortName": "GetIncomeRangeView", + "fullName": "google.ads.googleads.v7.services.IncomeRangeViewService.GetIncomeRangeView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/incomeRangeViews/*}" + } + ] + } + ] + }, + { + "shortName": "InvoiceService", + "fullName": "google.ads.googleads.v7.services.InvoiceService", + "methods": [ + { + "shortName": "ListInvoices", + "fullName": "google.ads.googleads.v7.services.InvoiceService.ListInvoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/customers/{customer_id=*}/invoices" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroupKeyword", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordPlanAdGroupKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupService", + "methods": [ + { + "shortName": "GetKeywordPlanAdGroup", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordPlanAdGroups/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v7.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaignKeyword", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordPlanCampaignKeywords/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignService", + "methods": [ + { + "shortName": "GetKeywordPlanCampaign", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignService.GetKeywordPlanCampaign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordPlanCampaigns/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v7.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanIdeaService", + "methods": [ + { + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v7.services.KeywordPlanIdeaService.GenerateKeywordIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:generateKeywordIdeas" + } + ] + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService", + "methods": [ + { + "shortName": "GenerateForecastCurve", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.GenerateForecastCurve", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" + } + ] + }, + { + "shortName": "GenerateForecastMetrics", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.GenerateForecastMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" + } + ] + }, + { + "shortName": "GenerateForecastTimeSeries", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.GenerateForecastTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + } + ] + }, + { + "shortName": "GenerateHistoricalMetrics", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.GenerateHistoricalMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + } + ] + }, + { + "shortName": "GetKeywordPlan", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.GetKeywordPlan", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordPlans/*}" + } + ] + }, + { + "shortName": "MutateKeywordPlans", + "fullName": "google.ads.googleads.v7.services.KeywordPlanService.MutateKeywordPlans", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/keywordPlans:mutate" + } + ] + } + ] + }, + { + "shortName": "KeywordViewService", + "fullName": "google.ads.googleads.v7.services.KeywordViewService", + "methods": [ + { + "shortName": "GetKeywordView", + "fullName": "google.ads.googleads.v7.services.KeywordViewService.GetKeywordView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/keywordViews/*}" + } + ] + } + ] + }, + { + "shortName": "LabelService", + "fullName": "google.ads.googleads.v7.services.LabelService", + "methods": [ + { + "shortName": "GetLabel", + "fullName": "google.ads.googleads.v7.services.LabelService.GetLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/labels/*}" + } + ] + }, + { + "shortName": "MutateLabels", + "fullName": "google.ads.googleads.v7.services.LabelService.MutateLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/labels:mutate" + } + ] + } + ] + }, + { + "shortName": "LandingPageViewService", + "fullName": "google.ads.googleads.v7.services.LandingPageViewService", + "methods": [ + { + "shortName": "GetLandingPageView", + "fullName": "google.ads.googleads.v7.services.LandingPageViewService.GetLandingPageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/landingPageViews/*}" + } + ] + } + ] + }, + { + "shortName": "LanguageConstantService", + "fullName": "google.ads.googleads.v7.services.LanguageConstantService", + "methods": [ + { + "shortName": "GetLanguageConstant", + "fullName": "google.ads.googleads.v7.services.LanguageConstantService.GetLanguageConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=languageConstants/*}" + } + ] + } + ] + }, + { + "shortName": "LifeEventService", + "fullName": "google.ads.googleads.v7.services.LifeEventService", + "methods": [ + { + "shortName": "GetLifeEvent", + "fullName": "google.ads.googleads.v7.services.LifeEventService.GetLifeEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/lifeEvents/*}" + } + ] + } + ] + }, + { + "shortName": "LocationViewService", + "fullName": "google.ads.googleads.v7.services.LocationViewService", + "methods": [ + { + "shortName": "GetLocationView", + "fullName": "google.ads.googleads.v7.services.LocationViewService.GetLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/locationViews/*}" + } + ] + } + ] + }, + { + "shortName": "ManagedPlacementViewService", + "fullName": "google.ads.googleads.v7.services.ManagedPlacementViewService", + "methods": [ + { + "shortName": "GetManagedPlacementView", + "fullName": "google.ads.googleads.v7.services.ManagedPlacementViewService.GetManagedPlacementView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/managedPlacementViews/*}" + } + ] + } + ] + }, + { + "shortName": "MediaFileService", + "fullName": "google.ads.googleads.v7.services.MediaFileService", + "methods": [ + { + "shortName": "GetMediaFile", + "fullName": "google.ads.googleads.v7.services.MediaFileService.GetMediaFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/mediaFiles/*}" + } + ] + }, + { + "shortName": "MutateMediaFiles", + "fullName": "google.ads.googleads.v7.services.MediaFileService.MutateMediaFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/mediaFiles:mutate" + } + ] + } + ] + }, + { + "shortName": "MerchantCenterLinkService", + "fullName": "google.ads.googleads.v7.services.MerchantCenterLinkService", + "methods": [ + { + "shortName": "GetMerchantCenterLink", + "fullName": "google.ads.googleads.v7.services.MerchantCenterLinkService.GetMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/merchantCenterLinks/*}" + } + ] + }, + { + "shortName": "ListMerchantCenterLinks", + "fullName": "google.ads.googleads.v7.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/customers/{customer_id=*}/merchantCenterLinks" + } + ] + }, + { + "shortName": "MutateMerchantCenterLink", + "fullName": "google.ads.googleads.v7.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/merchantCenterLinks:mutate" + } + ] + } + ] + }, + { + "shortName": "MobileAppCategoryConstantService", + "fullName": "google.ads.googleads.v7.services.MobileAppCategoryConstantService", + "methods": [ + { + "shortName": "GetMobileAppCategoryConstant", + "fullName": "google.ads.googleads.v7.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=mobileAppCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "MobileDeviceConstantService", + "fullName": "google.ads.googleads.v7.services.MobileDeviceConstantService", + "methods": [ + { + "shortName": "GetMobileDeviceConstant", + "fullName": "google.ads.googleads.v7.services.MobileDeviceConstantService.GetMobileDeviceConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=mobileDeviceConstants/*}" + } + ] + } + ] + }, + { + "shortName": "OfflineUserDataJobService", + "fullName": "google.ads.googleads.v7.services.OfflineUserDataJobService", + "methods": [ + { + "shortName": "AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v7.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + } + ] + }, + { + "shortName": "CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v7.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/offlineUserDataJobs:create" + } + ] + }, + { + "shortName": "GetOfflineUserDataJob", + "fullName": "google.ads.googleads.v7.services.OfflineUserDataJobService.GetOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/offlineUserDataJobs/*}" + } + ] + }, + { + "shortName": "RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v7.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{resource_name=customers/*/offlineUserDataJobs/*}:run" + } + ] + } + ] + }, + { + "shortName": "OperatingSystemVersionConstantService", + "fullName": "google.ads.googleads.v7.services.OperatingSystemVersionConstantService", + "methods": [ + { + "shortName": "GetOperatingSystemVersionConstant", + "fullName": "google.ads.googleads.v7.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=operatingSystemVersionConstants/*}" + } + ] + } + ] + }, + { + "shortName": "PaidOrganicSearchTermViewService", + "fullName": "google.ads.googleads.v7.services.PaidOrganicSearchTermViewService", + "methods": [ + { + "shortName": "GetPaidOrganicSearchTermView", + "fullName": "google.ads.googleads.v7.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/paidOrganicSearchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "ParentalStatusViewService", + "fullName": "google.ads.googleads.v7.services.ParentalStatusViewService", + "methods": [ + { + "shortName": "GetParentalStatusView", + "fullName": "google.ads.googleads.v7.services.ParentalStatusViewService.GetParentalStatusView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/parentalStatusViews/*}" + } + ] + } + ] + }, + { + "shortName": "PaymentsAccountService", + "fullName": "google.ads.googleads.v7.services.PaymentsAccountService", + "methods": [ + { + "shortName": "ListPaymentsAccounts", + "fullName": "google.ads.googleads.v7.services.PaymentsAccountService.ListPaymentsAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/customers/{customer_id=*}/paymentsAccounts" + } + ] + } + ] + }, + { + "shortName": "ProductBiddingCategoryConstantService", + "fullName": "google.ads.googleads.v7.services.ProductBiddingCategoryConstantService", + "methods": [ + { + "shortName": "GetProductBiddingCategoryConstant", + "fullName": "google.ads.googleads.v7.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=productBiddingCategoryConstants/*}" + } + ] + } + ] + }, + { + "shortName": "ProductGroupViewService", + "fullName": "google.ads.googleads.v7.services.ProductGroupViewService", + "methods": [ + { + "shortName": "GetProductGroupView", + "fullName": "google.ads.googleads.v7.services.ProductGroupViewService.GetProductGroupView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/productGroupViews/*}" + } + ] + } + ] + }, + { + "shortName": "ReachPlanService", + "fullName": "google.ads.googleads.v7.services.ReachPlanService", + "methods": [ + { + "shortName": "GenerateProductMixIdeas", + "fullName": "google.ads.googleads.v7.services.ReachPlanService.GenerateProductMixIdeas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:generateProductMixIdeas" + } + ] + }, + { + "shortName": "GenerateReachForecast", + "fullName": "google.ads.googleads.v7.services.ReachPlanService.GenerateReachForecast", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:generateReachForecast" + } + ] + }, + { + "shortName": "ListPlannableLocations", + "fullName": "google.ads.googleads.v7.services.ReachPlanService.ListPlannableLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7:listPlannableLocations" + } + ] + }, + { + "shortName": "ListPlannableProducts", + "fullName": "google.ads.googleads.v7.services.ReachPlanService.ListPlannableProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7:listPlannableProducts" + } + ] + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.ads.googleads.v7.services.RecommendationService", + "methods": [ + { + "shortName": "ApplyRecommendation", + "fullName": "google.ads.googleads.v7.services.RecommendationService.ApplyRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/recommendations:apply" + } + ] + }, + { + "shortName": "DismissRecommendation", + "fullName": "google.ads.googleads.v7.services.RecommendationService.DismissRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/recommendations:dismiss" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.ads.googleads.v7.services.RecommendationService.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/recommendations/*}" + } + ] + } + ] + }, + { + "shortName": "RemarketingActionService", + "fullName": "google.ads.googleads.v7.services.RemarketingActionService", + "methods": [ + { + "shortName": "GetRemarketingAction", + "fullName": "google.ads.googleads.v7.services.RemarketingActionService.GetRemarketingAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/remarketingActions/*}" + } + ] + }, + { + "shortName": "MutateRemarketingActions", + "fullName": "google.ads.googleads.v7.services.RemarketingActionService.MutateRemarketingActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/remarketingActions:mutate" + } + ] + } + ] + }, + { + "shortName": "SearchTermViewService", + "fullName": "google.ads.googleads.v7.services.SearchTermViewService", + "methods": [ + { + "shortName": "GetSearchTermView", + "fullName": "google.ads.googleads.v7.services.SearchTermViewService.GetSearchTermView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/searchTermViews/*}" + } + ] + } + ] + }, + { + "shortName": "SharedCriterionService", + "fullName": "google.ads.googleads.v7.services.SharedCriterionService", + "methods": [ + { + "shortName": "GetSharedCriterion", + "fullName": "google.ads.googleads.v7.services.SharedCriterionService.GetSharedCriterion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/sharedCriteria/*}" + } + ] + }, + { + "shortName": "MutateSharedCriteria", + "fullName": "google.ads.googleads.v7.services.SharedCriterionService.MutateSharedCriteria", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/sharedCriteria:mutate" + } + ] + } + ] + }, + { + "shortName": "SharedSetService", + "fullName": "google.ads.googleads.v7.services.SharedSetService", + "methods": [ + { + "shortName": "GetSharedSet", + "fullName": "google.ads.googleads.v7.services.SharedSetService.GetSharedSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/sharedSets/*}" + } + ] + }, + { + "shortName": "MutateSharedSets", + "fullName": "google.ads.googleads.v7.services.SharedSetService.MutateSharedSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/sharedSets:mutate" + } + ] + } + ] + }, + { + "shortName": "ShoppingPerformanceViewService", + "fullName": "google.ads.googleads.v7.services.ShoppingPerformanceViewService", + "methods": [ + { + "shortName": "GetShoppingPerformanceView", + "fullName": "google.ads.googleads.v7.services.ShoppingPerformanceViewService.GetShoppingPerformanceView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/shoppingPerformanceView}" + } + ] + } + ] + }, + { + "shortName": "ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService", + "methods": [ + { + "shortName": "GetThirdPartyAppAnalyticsLink", + "fullName": "google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}" + } + ] + }, + { + "shortName": "RegenerateShareableLinkId", + "fullName": "google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + } + ] + } + ] + }, + { + "shortName": "TopicConstantService", + "fullName": "google.ads.googleads.v7.services.TopicConstantService", + "methods": [ + { + "shortName": "GetTopicConstant", + "fullName": "google.ads.googleads.v7.services.TopicConstantService.GetTopicConstant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=topicConstants/*}" + } + ] + } + ] + }, + { + "shortName": "TopicViewService", + "fullName": "google.ads.googleads.v7.services.TopicViewService", + "methods": [ + { + "shortName": "GetTopicView", + "fullName": "google.ads.googleads.v7.services.TopicViewService.GetTopicView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/topicViews/*}" + } + ] + } + ] + }, + { + "shortName": "UserDataService", + "fullName": "google.ads.googleads.v7.services.UserDataService", + "methods": [ + { + "shortName": "UploadUserData", + "fullName": "google.ads.googleads.v7.services.UserDataService.UploadUserData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}:uploadUserData" + } + ] + } + ] + }, + { + "shortName": "UserInterestService", + "fullName": "google.ads.googleads.v7.services.UserInterestService", + "methods": [ + { + "shortName": "GetUserInterest", + "fullName": "google.ads.googleads.v7.services.UserInterestService.GetUserInterest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/userInterests/*}" + } + ] + } + ] + }, + { + "shortName": "UserListService", + "fullName": "google.ads.googleads.v7.services.UserListService", + "methods": [ + { + "shortName": "GetUserList", + "fullName": "google.ads.googleads.v7.services.UserListService.GetUserList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/userLists/*}" + } + ] + }, + { + "shortName": "MutateUserLists", + "fullName": "google.ads.googleads.v7.services.UserListService.MutateUserLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v7/customers/{customer_id=*}/userLists:mutate" + } + ] + } + ] + }, + { + "shortName": "UserLocationViewService", + "fullName": "google.ads.googleads.v7.services.UserLocationViewService", + "methods": [ + { + "shortName": "GetUserLocationView", + "fullName": "google.ads.googleads.v7.services.UserLocationViewService.GetUserLocationView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/userLocationViews/*}" + } + ] + } + ] + }, + { + "shortName": "VideoService", + "fullName": "google.ads.googleads.v7.services.VideoService", + "methods": [ + { + "shortName": "GetVideo", + "fullName": "google.ads.googleads.v7.services.VideoService.GetVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/videos/*}" + } + ] + } + ] + }, + { + "shortName": "WebpageViewService", + "fullName": "google.ads.googleads.v7.services.WebpageViewService", + "methods": [ + { + "shortName": "GetWebpageView", + "fullName": "google.ads.googleads.v7.services.WebpageViewService.GetWebpageView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v7/{resource_name=customers/*/webpageViews/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.analytics.admin.v1alpha": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin": 2 + } + } + }, + "services": [ + { + "shortName": "AnalyticsAdminService", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", + "methods": [ + { + "shortName": "ArchiveCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomDimension", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=properties/*/customDimensions/*}:archive" + } + ] + }, + { + "shortName": "ArchiveCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=properties/*/customMetrics/*}:archive" + } + ] + }, + { + "shortName": "AuditUserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AuditUserLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=accounts/*}/userLinks:audit" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/userLinks:audit" + } + ] + }, + { + "shortName": "BatchCreateUserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateUserLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=accounts/*}/userLinks:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/userLinks:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteUserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteUserLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=accounts/*}/userLinks:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/userLinks:batchDelete" + } + ] + }, + { + "shortName": "BatchGetUserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetUserLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=accounts/*}/userLinks:batchGet" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/userLinks:batchGet" + } + ] + }, + { + "shortName": "BatchUpdateUserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateUserLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=accounts/*}/userLinks:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/userLinks:batchUpdate" + } + ] + }, + { + "shortName": "CreateConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConversionEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/conversionEvents" + } + ] + }, + { + "shortName": "CreateCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomDimension", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/customDimensions" + } + ] + }, + { + "shortName": "CreateCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/customMetrics" + } + ] + }, + { + "shortName": "CreateFirebaseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateFirebaseLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/firebaseLinks" + } + ] + }, + { + "shortName": "CreateGoogleAdsLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateGoogleAdsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/googleAdsLinks" + } + ] + }, + { + "shortName": "CreateMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateMeasurementProtocolSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*/webDataStreams/*}/measurementProtocolSecrets" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*/iosAppDataStreams/*}/measurementProtocolSecrets" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*/androidAppDataStreams/*}/measurementProtocolSecrets" + } + ] + }, + { + "shortName": "CreateProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateProperty", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/properties" + } + ] + }, + { + "shortName": "CreateUserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateUserLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=accounts/*}/userLinks" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/userLinks" + } + ] + }, + { + "shortName": "CreateWebDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateWebDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/webDataStreams" + } + ] + }, + { + "shortName": "DeleteAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=accounts/*}" + } + ] + }, + { + "shortName": "DeleteAndroidAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAndroidAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/androidAppDataStreams/*}" + } + ] + }, + { + "shortName": "DeleteConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConversionEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/conversionEvents/*}" + } + ] + }, + { + "shortName": "DeleteFirebaseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteFirebaseLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/firebaseLinks/*}" + } + ] + }, + { + "shortName": "DeleteGoogleAdsLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteGoogleAdsLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/googleAdsLinks/*}" + } + ] + }, + { + "shortName": "DeleteIosAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteIosAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/iosAppDataStreams/*}" + } + ] + }, + { + "shortName": "DeleteMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteMeasurementProtocolSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + } + ] + }, + { + "shortName": "DeleteProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteProperty", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*}" + } + ] + }, + { + "shortName": "DeleteUserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteUserLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=accounts/*/userLinks/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/userLinks/*}" + } + ] + }, + { + "shortName": "DeleteWebDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteWebDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/webDataStreams/*}" + } + ] + }, + { + "shortName": "GetAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*}" + } + ] + }, + { + "shortName": "GetAndroidAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAndroidAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/androidAppDataStreams/*}" + } + ] + }, + { + "shortName": "GetConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/conversionEvents/*}" + } + ] + }, + { + "shortName": "GetCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/customDimensions/*}" + } + ] + }, + { + "shortName": "GetCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/customMetrics/*}" + } + ] + }, + { + "shortName": "GetDataSharingSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*/dataSharingSettings}" + } + ] + }, + { + "shortName": "GetEnhancedMeasurementSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEnhancedMeasurementSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/webDataStreams/*/enhancedMeasurementSettings}" + } + ] + }, + { + "shortName": "GetGlobalSiteTag", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/webDataStreams/*/globalSiteTag}" + } + ] + }, + { + "shortName": "GetGoogleSignalsSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/googleSignalsSettings}" + } + ] + }, + { + "shortName": "GetIosAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetIosAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/iosAppDataStreams/*}" + } + ] + }, + { + "shortName": "GetMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + } + ] + }, + { + "shortName": "GetProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*}" + } + ] + }, + { + "shortName": "GetUserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetUserLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*/userLinks/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/userLinks/*}" + } + ] + }, + { + "shortName": "GetWebDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetWebDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/webDataStreams/*}" + } + ] + }, + { + "shortName": "ListAccounts", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/accounts" + } + ] + }, + { + "shortName": "ListAccountSummaries", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/accountSummaries" + } + ] + }, + { + "shortName": "ListAndroidAppDataStreams", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAndroidAppDataStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/androidAppDataStreams" + } + ] + }, + { + "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": "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": "ListIosAppDataStreams", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListIosAppDataStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/iosAppDataStreams" + } + ] + }, + { + "shortName": "ListMeasurementProtocolSecrets", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/webDataStreams/*}/measurementProtocolSecrets" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/iosAppDataStreams/*}/measurementProtocolSecrets" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/androidAppDataStreams/*}/measurementProtocolSecrets" + } + ] + }, + { + "shortName": "ListProperties", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/properties" + } + ] + }, + { + "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": "ListWebDataStreams", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListWebDataStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/webDataStreams" + } + ] + }, + { + "shortName": "ProvisionAccountTicket", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionAccountTicket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/accounts:provisionAccountTicket" + } + ] + }, + { + "shortName": "SearchChangeHistoryEvents", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SearchChangeHistoryEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{account=accounts/*}:searchChangeHistoryEvents" + } + ] + }, + { + "shortName": "UpdateAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{account.name=accounts/*}" + } + ] + }, + { + "shortName": "UpdateAndroidAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAndroidAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{android_app_data_stream.name=properties/*/androidAppDataStreams/*}" + } + ] + }, + { + "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": "UpdateEnhancedMeasurementSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEnhancedMeasurementSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{enhanced_measurement_settings.name=properties/*/webDataStreams/*/enhancedMeasurementSettings}" + } + ] + }, + { + "shortName": "UpdateFirebaseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateFirebaseLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{firebase_link.name=properties/*/firebaseLinks/*}" + } + ] + }, + { + "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": "UpdateIosAppDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateIosAppDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{ios_app_data_stream.name=properties/*/iosAppDataStreams/*}" + } + ] + }, + { + "shortName": "UpdateMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateMeasurementProtocolSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{measurement_protocol_secret.name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{measurement_protocol_secret.name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{measurement_protocol_secret.name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + } + ] + }, + { + "shortName": "UpdateProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateProperty", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{property.name=properties/*}" + } + ] + }, + { + "shortName": "UpdateUserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateUserLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{user_link.name=accounts/*/userLinks/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{user_link.name=properties/*/userLinks/*}" + } + ] + }, + { + "shortName": "UpdateWebDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateWebDataStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{web_data_stream.name=properties/*/webDataStreams/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.analytics.data.v1alpha", + "directory": "google/analytics/data/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "analyticsdata.googleapis.com", + "title": "Google Analytics Data API", + "description": "Accesses report data in Google Analytics.", + "importDirectories": [ + "google/analytics/data/v1alpha", + "google/api" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.analytics.data.v1alpha": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data": 2 + } + } + }, + "services": [ + { + "shortName": "AlphaAnalyticsData", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData", + "methods": [ + { + "shortName": "BatchRunPivotReports", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.BatchRunPivotReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:batchRunPivotReports" + } + ] + }, + { + "shortName": "BatchRunReports", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.BatchRunReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:batchRunReports" + } + ] + }, + { + "shortName": "GetMetadata", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.GetMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/metadata}" + } + ] + }, + { + "shortName": "RunPivotReport", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.RunPivotReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:runPivotReport" + } + ] + }, + { + "shortName": "RunRealtimeReport", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.RunRealtimeReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{property=properties/*}:runRealtimeReport" + } + ] + }, + { + "shortName": "RunReport", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.RunReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:runReport" + } + ] + } + ] + } + ] + }, + { + "id": "google.analytics.data.v1beta", + "directory": "google/analytics/data/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "analyticsdata.googleapis.com", + "title": "Google Analytics Data API", + "description": "Accesses report data in Google Analytics.", + "importDirectories": [ + "google/analytics/data/v1beta", + "google/api" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.analytics.data.v1beta": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/analytics/data/v1beta;data": 2 + } + } + }, + "services": [ + { + "shortName": "BetaAnalyticsData", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData", + "methods": [ + { + "shortName": "BatchRunPivotReports", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.BatchRunPivotReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{property=properties/*}:batchRunPivotReports" + } + ] + }, + { + "shortName": "BatchRunReports", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.BatchRunReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{property=properties/*}:batchRunReports" + } + ] + }, + { + "shortName": "GetMetadata", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.GetMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=properties/*/metadata}" + } + ] + }, + { + "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" + } + ] + } + ] + } + ] + }, + { + "id": "google.api.servicecontrol.v1", + "directory": "google/api/servicecontrol/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "servicecontrol.googleapis.com", + "title": "Service Control API", + "description": "Provides control plane functionality to managed services, such as logging, monitoring, and status checks.", + "importDirectories": [ + "google/api", + "google/api/servicecontrol/v1", + "google/logging/type", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.api.servicecontrol.v1": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol": 8 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ServiceControl.V1": 8 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ServiceControl\\V1": 8 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ServiceControl::V1": 8 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 6, + "": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GASC": 1, + "": 7 + } + } + }, + "services": [ + { + "shortName": "QuotaController", + "fullName": "google.api.servicecontrol.v1.QuotaController", + "methods": [ + { + "shortName": "AllocateQuota", + "fullName": "google.api.servicecontrol.v1.QuotaController.AllocateQuota", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:allocateQuota" + } + ] + } + ] + }, + { + "shortName": "ServiceController", + "fullName": "google.api.servicecontrol.v1.ServiceController", + "methods": [ + { + "shortName": "Check", + "fullName": "google.api.servicecontrol.v1.ServiceController.Check", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:check" + } + ] + }, + { + "shortName": "Report", + "fullName": "google.api.servicecontrol.v1.ServiceController.Report", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:report" + } + ] + } + ] + } + ] + }, + { + "id": "google.api.servicemanagement.v1", + "directory": "google/api/servicemanagement/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "servicemanagement.googleapis.com", + "title": "Service Management API", + "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.", + "importDirectories": [ + "google/api", + "google/api/servicemanagement/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.api.servicemanagement.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/api/servicemanagement/v1;servicemanagement": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GASM": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ServiceManagement.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ServiceManagement\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ServiceManagement::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ServiceManager", + "fullName": "google.api.servicemanagement.v1.ServiceManager", + "methods": [ + { + "shortName": "CreateService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services" + } + ] + }, + { + "shortName": "CreateServiceConfig", + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}/configs" + } + ] + }, + { + "shortName": "CreateServiceRollout", + "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}/rollouts" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/services/{service_name}" + } + ] + }, + { + "shortName": "DisableService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.DisableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:disable" + } + ] + }, + { + "shortName": "EnableService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.EnableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:enable" + } + ] + }, + { + "shortName": "GenerateConfigReport", + "fullName": "google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services:generateConfigReport" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}" + } + ] + }, + { + "shortName": "GetServiceConfig", + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}/configs/{config_id}" + }, + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}/config" + } + ] + }, + { + "shortName": "GetServiceRollout", + "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}/rollouts/{rollout_id}" + } + ] + }, + { + "shortName": "ListServiceConfigs", + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}/configs" + } + ] + }, + { + "shortName": "ListServiceRollouts", + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services/{service_name}/rollouts" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services" + } + ] + }, + { + "shortName": "SubmitConfigSource", + "fullName": "google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}/configs:submit" + } + ] + }, + { + "shortName": "UndeleteService", + "fullName": "google.api.servicemanagement.v1.ServiceManager.UndeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/services/{service_name}:undelete" + } + ] + } + ] + } + ] + }, + { + "id": "google.api.serviceusage.v1", + "directory": "google/api/serviceusage/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "serviceusage.googleapis.com", + "title": "Service Usage API", + "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", + "importDirectories": [ + "google/api", + "google/api/serviceusage/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.api.serviceusage.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ServiceUsage.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ServiceUsage\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ServiceUsage::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ServiceUsage", + "fullName": "google.api.serviceusage.v1.ServiceUsage", + "methods": [ + { + "shortName": "BatchEnableServices", + "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchEnableServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=*/*}/services:batchEnable" + } + ] + }, + { + "shortName": "BatchGetServices", + "fullName": "google.api.serviceusage.v1.ServiceUsage.BatchGetServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=*/*}/services:batchGet" + } + ] + }, + { + "shortName": "DisableService", + "fullName": "google.api.serviceusage.v1.ServiceUsage.DisableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=*/*/services/*}:disable" + } + ] + }, + { + "shortName": "EnableService", + "fullName": "google.api.serviceusage.v1.ServiceUsage.EnableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=*/*/services/*}:enable" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.api.serviceusage.v1.ServiceUsage.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=*/*/services/*}" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.api.serviceusage.v1.ServiceUsage.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=*/*}/services" + } + ] + } + ] + } + ] + }, + { + "id": "google.api.serviceusage.v1beta1", + "directory": "google/api/serviceusage/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "serviceusage.googleapis.com", + "title": "Service Usage API", + "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", + "importDirectories": [ + "google/api", + "google/api/serviceusage/v1beta1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.api.serviceusage.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Api.ServiceUsage.V1Beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Api\\ServiceUsage\\V1beta1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Api::ServiceUsage::V1beta1": 2 + } + } + }, + "services": [ + { + "shortName": "ServiceUsage", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage", + "methods": [ + { + "shortName": "BatchEnableServices", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.BatchEnableServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*}/services:batchEnable" + } + ] + }, + { + "shortName": "CreateAdminOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.CreateAdminOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" + } + ] + }, + { + "shortName": "CreateConsumerOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.CreateConsumerOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" + } + ] + }, + { + "shortName": "DeleteAdminOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.DeleteAdminOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" + } + ] + }, + { + "shortName": "DeleteConsumerOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.DeleteConsumerOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" + } + ] + }, + { + "shortName": "DisableService", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.DisableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=*/*/services/*}:disable" + } + ] + }, + { + "shortName": "EnableService", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.EnableService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=*/*/services/*}:enable" + } + ] + }, + { + "shortName": "GenerateServiceIdentity", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.GenerateServiceIdentity", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*/services/*}:generateServiceIdentity" + } + ] + }, + { + "shortName": "GetConsumerQuotaLimit", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.GetConsumerQuotaLimit", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*}" + } + ] + }, + { + "shortName": "GetConsumerQuotaMetric", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.GetConsumerQuotaMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=*/*/services/*}" + } + ] + }, + { + "shortName": "ImportAdminOverrides", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ImportAdminOverrides", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importAdminOverrides" + } + ] + }, + { + "shortName": "ImportConsumerOverrides", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ImportConsumerOverrides", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importConsumerOverrides" + } + ] + }, + { + "shortName": "ListAdminOverrides", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ListAdminOverrides", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" + } + ] + }, + { + "shortName": "ListConsumerOverrides", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ListConsumerOverrides", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" + } + ] + }, + { + "shortName": "ListConsumerQuotaMetrics", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ListConsumerQuotaMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=*/*}/services" + } + ] + }, + { + "shortName": "UpdateAdminOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.UpdateAdminOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" + } + ] + }, + { + "shortName": "UpdateConsumerOverride", + "fullName": "google.api.serviceusage.v1beta1.ServiceUsage.UpdateConsumerOverride", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.appengine.v1", + "directory": "google/appengine/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "appengine.googleapis.com", + "title": "App Engine Admin API", + "description": "Provisions and manages developers' App Engine applications.", + "importDirectories": [ + "google/api", + "google/appengine/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.appengine.v1.firewall": 1, + "com.google.appengine.v1": 15 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 16 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/appengine/v1;appengine": 16 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AppEngine.V1": 16 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AppEngine\\V1": 16 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AppEngine::V1": 16 + } + } + }, + "services": [ + { + "shortName": "Applications", + "fullName": "google.appengine.v1.Applications", + "methods": [ + { + "shortName": "CreateApplication", + "fullName": "google.appengine.v1.Applications.CreateApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/apps" + } + ] + }, + { + "shortName": "GetApplication", + "fullName": "google.appengine.v1.Applications.GetApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*}" + } + ] + }, + { + "shortName": "RepairApplication", + "fullName": "google.appengine.v1.Applications.RepairApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=apps/*}:repair" + } + ] + }, + { + "shortName": "UpdateApplication", + "fullName": "google.appengine.v1.Applications.UpdateApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*}" + } + ] + } + ] + }, + { + "shortName": "AuthorizedCertificates", + "fullName": "google.appengine.v1.AuthorizedCertificates", + "methods": [ + { + "shortName": "CreateAuthorizedCertificate", + "fullName": "google.appengine.v1.AuthorizedCertificates.CreateAuthorizedCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=apps/*}/authorizedCertificates" + } + ] + }, + { + "shortName": "DeleteAuthorizedCertificate", + "fullName": "google.appengine.v1.AuthorizedCertificates.DeleteAuthorizedCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/authorizedCertificates/*}" + } + ] + }, + { + "shortName": "GetAuthorizedCertificate", + "fullName": "google.appengine.v1.AuthorizedCertificates.GetAuthorizedCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/authorizedCertificates/*}" + } + ] + }, + { + "shortName": "ListAuthorizedCertificates", + "fullName": "google.appengine.v1.AuthorizedCertificates.ListAuthorizedCertificates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*}/authorizedCertificates" + } + ] + }, + { + "shortName": "UpdateAuthorizedCertificate", + "fullName": "google.appengine.v1.AuthorizedCertificates.UpdateAuthorizedCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*/authorizedCertificates/*}" + } + ] + } + ] + }, + { + "shortName": "AuthorizedDomains", + "fullName": "google.appengine.v1.AuthorizedDomains", + "methods": [ + { + "shortName": "ListAuthorizedDomains", + "fullName": "google.appengine.v1.AuthorizedDomains.ListAuthorizedDomains", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*}/authorizedDomains" + } + ] + } + ] + }, + { + "shortName": "DomainMappings", + "fullName": "google.appengine.v1.DomainMappings", + "methods": [ + { + "shortName": "CreateDomainMapping", + "fullName": "google.appengine.v1.DomainMappings.CreateDomainMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=apps/*}/domainMappings" + } + ] + }, + { + "shortName": "DeleteDomainMapping", + "fullName": "google.appengine.v1.DomainMappings.DeleteDomainMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/domainMappings/*}" + } + ] + }, + { + "shortName": "GetDomainMapping", + "fullName": "google.appengine.v1.DomainMappings.GetDomainMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/domainMappings/*}" + } + ] + }, + { + "shortName": "ListDomainMappings", + "fullName": "google.appengine.v1.DomainMappings.ListDomainMappings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*}/domainMappings" + } + ] + }, + { + "shortName": "UpdateDomainMapping", + "fullName": "google.appengine.v1.DomainMappings.UpdateDomainMapping", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*/domainMappings/*}" + } + ] + } + ] + }, + { + "shortName": "Firewall", + "fullName": "google.appengine.v1.Firewall", + "methods": [ + { + "shortName": "BatchUpdateIngressRules", + "fullName": "google.appengine.v1.Firewall.BatchUpdateIngressRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=apps/*/firewall/ingressRules}:batchUpdate" + } + ] + }, + { + "shortName": "CreateIngressRule", + "fullName": "google.appengine.v1.Firewall.CreateIngressRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=apps/*}/firewall/ingressRules" + } + ] + }, + { + "shortName": "DeleteIngressRule", + "fullName": "google.appengine.v1.Firewall.DeleteIngressRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/firewall/ingressRules/*}" + } + ] + }, + { + "shortName": "GetIngressRule", + "fullName": "google.appengine.v1.Firewall.GetIngressRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/firewall/ingressRules/*}" + } + ] + }, + { + "shortName": "ListIngressRules", + "fullName": "google.appengine.v1.Firewall.ListIngressRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*}/firewall/ingressRules" + } + ] + }, + { + "shortName": "UpdateIngressRule", + "fullName": "google.appengine.v1.Firewall.UpdateIngressRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*/firewall/ingressRules/*}" + } + ] + } + ] + }, + { + "shortName": "Instances", + "fullName": "google.appengine.v1.Instances", + "methods": [ + { + "shortName": "DebugInstance", + "fullName": "google.appengine.v1.Instances.DebugInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=apps/*/services/*/versions/*/instances/*}:debug" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.appengine.v1.Instances.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/services/*/versions/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.appengine.v1.Instances.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/services/*/versions/*/instances/*}" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.appengine.v1.Instances.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*/services/*/versions/*}/instances" + } + ] + } + ] + }, + { + "shortName": "Services", + "fullName": "google.appengine.v1.Services", + "methods": [ + { + "shortName": "DeleteService", + "fullName": "google.appengine.v1.Services.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/services/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.appengine.v1.Services.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/services/*}" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.appengine.v1.Services.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*}/services" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.appengine.v1.Services.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*/services/*}" + } + ] + } + ] + }, + { + "shortName": "Versions", + "fullName": "google.appengine.v1.Versions", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.appengine.v1.Versions.CreateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=apps/*/services/*}/versions" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.appengine.v1.Versions.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=apps/*/services/*/versions/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.appengine.v1.Versions.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=apps/*/services/*/versions/*}" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.appengine.v1.Versions.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=apps/*/services/*}/versions" + } + ] + }, + { + "shortName": "UpdateVersion", + "fullName": "google.appengine.v1.Versions.UpdateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=apps/*/services/*/versions/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.apps.alertcenter.v1beta1", + "directory": "google/apps/alertcenter/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "alertcenter.googleapis.com", + "title": "Google Workspace Alert Center API", + "description": "Manages alerts on issues affecting your domain.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.apps.alertcenter.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1;alertcenter": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GAIC": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Apps.AlertCenter.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\AlertCenter\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Apps::AlertCenter::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "AlertCenterService", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService", + "methods": [ + { + "shortName": "BatchDeleteAlerts", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.BatchDeleteAlerts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/alerts:batchDelete" + } + ] + }, + { + "shortName": "BatchUndeleteAlerts", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.BatchUndeleteAlerts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/alerts:batchUndelete" + } + ] + }, + { + "shortName": "CreateAlertFeedback", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.CreateAlertFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/alerts/{alert_id}/feedback" + } + ] + }, + { + "shortName": "DeleteAlert", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.DeleteAlert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/alerts/{alert_id}" + } + ] + }, + { + "shortName": "GetAlert", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.GetAlert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/alerts/{alert_id}" + } + ] + }, + { + "shortName": "GetAlertMetadata", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.GetAlertMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/alerts/{alert_id}/metadata" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.GetSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/settings" + } + ] + }, + { + "shortName": "ListAlertFeedback", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.ListAlertFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/alerts/{alert_id}/feedback" + } + ] + }, + { + "shortName": "ListAlerts", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.ListAlerts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/alerts" + } + ] + }, + { + "shortName": "UndeleteAlert", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.UndeleteAlert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/alerts/{alert_id}:undelete" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.apps.alertcenter.v1beta1.AlertCenterService.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/settings" + } + ] + } + ] + } + ] + }, + { + "id": "google.apps.drive.activity.v2", + "directory": "google/apps/drive/activity/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "driveactivity.googleapis.com", + "title": "Drive Activity API", + "description": "Provides a historical view of activity in Google Drive.", + "importDirectories": [ + "google/api", + "google/apps/drive/activity/v2", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.apps.drive.activity.v2": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/apps/drive/activity/v2;activity": 7 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GADA": 7 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Apps.Drive.Activity.V2": 7 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\Drive\\Activity\\V2": 7 + } + } + }, + "services": [ + { + "shortName": "DriveActivityService", + "fullName": "google.apps.drive.activity.v2.DriveActivityService", + "methods": [ + { + "shortName": "QueryDriveActivity", + "fullName": "google.apps.drive.activity.v2.DriveActivityService.QueryDriveActivity", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/activity:query" + } + ] + } + ] + } + ] + }, + { + "id": "google.apps.market.v2", + "directory": "google/apps/market/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "appsmarket.googleapis.com", + "title": "Google Workspace Marketplace API", + "description": "Lets your Google Workspace Marketplace applications integrate with Google's licensing and billing services.", + "importDirectories": [ + "google/api", + "google/apps/market/v2" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.ccc.hosted.marketplace.v2": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2;marketplace": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\Market\\V2": 2 + } + } + }, + "services": [ + { + "shortName": "CustomerLicenseService", + "fullName": "ccc.hosted.marketplace.v2.CustomerLicenseService", + "methods": [ + { + "shortName": "Get", + "fullName": "ccc.hosted.marketplace.v2.CustomerLicenseService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/appsmarket/v2/customerLicense/{application_id}/{customer_id}" + } + ] + } + ] + }, + { + "shortName": "LicenseNotificationService", + "fullName": "ccc.hosted.marketplace.v2.LicenseNotificationService", + "methods": [ + { + "shortName": "List", + "fullName": "ccc.hosted.marketplace.v2.LicenseNotificationService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/appsmarket/v2/licenseNotification/{application_id}" + } + ] + } + ] + }, + { + "shortName": "UserLicenseService", + "fullName": "ccc.hosted.marketplace.v2.UserLicenseService", + "methods": [ + { + "shortName": "Get", + "fullName": "ccc.hosted.marketplace.v2.UserLicenseService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/appsmarket/v2/userLicense/{application_id}/{user_id}" + } + ] + } + ] + } + ] + }, + { + "id": "google.area120.tables.v1alpha1", + "directory": "google/area120/tables/v1alpha1", + "version": "v1alpha1", + "majorVersion": "v1", + "hostName": "area120tables.googleapis.com", + "title": "Area120 Tables API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.area120.tables.v1alpha1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/area120/tables/v1alpha1;tables": 1 + } + } + }, + "services": [ + { + "shortName": "TablesService", + "fullName": "google.area120.tables.v1alpha1.TablesService", + "methods": [ + { + "shortName": "BatchCreateRows", + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchCreateRows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=tables/*}/rows:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteRows", + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchDeleteRows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=tables/*}/rows:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateRows", + "fullName": "google.area120.tables.v1alpha1.TablesService.BatchUpdateRows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=tables/*}/rows:batchUpdate" + } + ] + }, + { + "shortName": "CreateRow", + "fullName": "google.area120.tables.v1alpha1.TablesService.CreateRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=tables/*}/rows" + } + ] + }, + { + "shortName": "DeleteRow", + "fullName": "google.area120.tables.v1alpha1.TablesService.DeleteRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=tables/*/rows/*}" + } + ] + }, + { + "shortName": "GetRow", + "fullName": "google.area120.tables.v1alpha1.TablesService.GetRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=tables/*/rows/*}" + } + ] + }, + { + "shortName": "GetTable", + "fullName": "google.area120.tables.v1alpha1.TablesService.GetTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=tables/*}" + } + ] + }, + { + "shortName": "GetWorkspace", + "fullName": "google.area120.tables.v1alpha1.TablesService.GetWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=workspaces/*}" + } + ] + }, + { + "shortName": "ListRows", + "fullName": "google.area120.tables.v1alpha1.TablesService.ListRows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{parent=tables/*}/rows" + } + ] + }, + { + "shortName": "ListTables", + "fullName": "google.area120.tables.v1alpha1.TablesService.ListTables", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/tables" + } + ] + }, + { + "shortName": "ListWorkspaces", + "fullName": "google.area120.tables.v1alpha1.TablesService.ListWorkspaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/workspaces" + } + ] + }, + { + "shortName": "UpdateRow", + "fullName": "google.area120.tables.v1alpha1.TablesService.UpdateRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha1/{row.name=tables/*/rows/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.bigtable.admin.v2", + "directory": "google/bigtable/admin/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "bigtableadmin.googleapis.com", + "title": "Cloud Bigtable Admin API", + "description": "Administer your Cloud Bigtable tables and instances.", + "importDirectories": [ + "google/api", + "google/bigtable/admin/v2", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.bigtable.admin.v2": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/bigtable/admin/v2;admin": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Bigtable.Admin.V2": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Bigtable\\Admin\\V2": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Bigtable::Admin::V2": 5 + } + } + }, + "services": [ + { + "shortName": "BigtableInstanceAdmin", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin", + "methods": [ + { + "shortName": "CreateAppProfile", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.CreateAppProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*}/appProfiles" + } + ] + }, + { + "shortName": "CreateCluster", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*}/clusters" + } + ] + }, + { + "shortName": "CreateInstance", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/instances" + } + ] + }, + { + "shortName": "DeleteAppProfile", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteAppProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*/appProfiles/*}" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*/clusters/*}" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*}" + } + ] + }, + { + "shortName": "GetAppProfile", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.GetAppProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*/appProfiles/*}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*/clusters/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*}" + } + ] + }, + { + "shortName": "ListAppProfiles", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.ListAppProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/instances/*}/appProfiles" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/instances/*}/clusters" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/instances" + } + ] + }, + { + "shortName": "PartialUpdateInstance", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.PartialUpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{instance.name=projects/*/instances/*}" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateAppProfile", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateAppProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v2/{name=projects/*/instances/*/clusters/*}" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.bigtable.admin.v2.BigtableInstanceAdmin.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v2/{name=projects/*/instances/*}" + } + ] + } + ] + }, + { + "shortName": "BigtableTableAdmin", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin", + "methods": [ + { + "shortName": "CheckConsistency", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/instances/*/tables/*}:checkConsistency" + } + ] + }, + { + "shortName": "CreateBackup", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*/clusters/*}/backups" + } + ] + }, + { + "shortName": "CreateTable", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CreateTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*}/tables" + } + ] + }, + { + "shortName": "CreateTableFromSnapshot", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot" + } + ] + }, + { + "shortName": "DeleteBackup", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*/clusters/*/backups/*}" + } + ] + }, + { + "shortName": "DeleteSnapshot", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}" + } + ] + }, + { + "shortName": "DeleteTable", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/instances/*/tables/*}" + } + ] + }, + { + "shortName": "DropRowRange", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/instances/*/tables/*}:dropRowRange" + } + ] + }, + { + "shortName": "GenerateConsistencyToken", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken" + } + ] + }, + { + "shortName": "GetBackup", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.GetBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*/clusters/*/backups/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetSnapshot", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}" + } + ] + }, + { + "shortName": "GetTable", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.GetTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/instances/*/tables/*}" + } + ] + }, + { + "shortName": "ListBackups", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.ListBackups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/instances/*/clusters/*}/backups" + } + ] + }, + { + "shortName": "ListSnapshots", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/instances/*/clusters/*}/snapshots" + } + ] + }, + { + "shortName": "ListTables", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.ListTables", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/instances/*}/tables" + } + ] + }, + { + "shortName": "ModifyColumnFamilies", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies" + } + ] + }, + { + "shortName": "RestoreTable", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*}/tables:restore" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy" + } + ] + }, + { + "shortName": "SnapshotTable", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/instances/*/tables/*}:snapshot" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateBackup", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.bigtable.v2", + "directory": "google/bigtable/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "bigtable.googleapis.com", + "title": "Cloud Bigtable API", + "description": "API for reading and writing the contents of Bigtables associated with a cloud project.", + "importDirectories": [ + "google/api", + "google/bigtable/v2", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.bigtable.v2": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/bigtable/v2;bigtable": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Bigtable.V2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Bigtable\\V2": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Bigtable::V2": 2 + } + } + }, + "services": [ + { + "shortName": "Bigtable", + "fullName": "google.bigtable.v2.Bigtable", + "methods": [ + { + "shortName": "CheckAndMutateRow", + "fullName": "google.bigtable.v2.Bigtable.CheckAndMutateRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateRow" + } + ] + }, + { + "shortName": "MutateRow", + "fullName": "google.bigtable.v2.Bigtable.MutateRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:mutateRow" + } + ] + }, + { + "shortName": "MutateRows", + "fullName": "google.bigtable.v2.Bigtable.MutateRows", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:mutateRows" + } + ] + }, + { + "shortName": "ReadModifyWriteRow", + "fullName": "google.bigtable.v2.Bigtable.ReadModifyWriteRow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:readModifyWriteRow" + } + ] + }, + { + "shortName": "ReadRows", + "fullName": "google.bigtable.v2.Bigtable.ReadRows", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:readRows" + } + ] + }, + { + "shortName": "SampleRowKeys", + "fullName": "google.bigtable.v2.Bigtable.SampleRowKeys", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{table_name=projects/*/instances/*/tables/*}:sampleRowKeys" + } + ] + } + ] + } + ] + }, + { + "id": "google.chromeos.moblab.v1beta1", + "directory": "google/chromeos/moblab/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "chromeosmoblab.googleapis.com", + "title": "Chrome OS Moblab API", + "description": "Moblab API is an external-facing API that Moblabs deployed in remote external labs of Chrome OS partners can communicate with for various testing needs.", + "importDirectories": [ + "google/api", + "google/chromeos/moblab/v1beta1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.chromeos.moblab.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1;moblab": 2 + } + } + }, + "services": [ + { + "shortName": "BuildService", + "fullName": "google.chromeos.moblab.v1beta1.BuildService", + "methods": [ + { + "shortName": "CheckBuildStageStatus", + "fullName": "google.chromeos.moblab.v1beta1.BuildService.CheckBuildStageStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=buildTargets/*/models/*/builds/*/artifacts/*}:check" + } + ] + }, + { + "shortName": "ListBuilds", + "fullName": "google.chromeos.moblab.v1beta1.BuildService.ListBuilds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=buildTargets/*/models/*}/builds" + } + ] + }, + { + "shortName": "StageBuild", + "fullName": "google.chromeos.moblab.v1beta1.BuildService.StageBuild", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=buildTargets/*/models/*/builds/*/artifacts/*}:stage" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.accessapproval.v1", + "directory": "google/cloud/accessapproval/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "accessapproval.googleapis.com", + "title": "Access Approval API", + "description": "An API for controlling access to data by Google personnel.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.accessapproval.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/accessapproval/v1;accessapproval": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AccessApproval.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AccessApproval\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AccessApproval::V1": 1 + } + } + }, + "services": [ + { + "shortName": "AccessApproval", + "fullName": "google.cloud.accessapproval.v1.AccessApproval", + "methods": [ + { + "shortName": "ApproveApprovalRequest", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.ApproveApprovalRequest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/approvalRequests/*}:approve" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/approvalRequests/*}:approve" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/approvalRequests/*}:approve" + } + ] + }, + { + "shortName": "DeleteAccessApprovalSettings", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.DeleteAccessApprovalSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/accessApprovalSettings}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/accessApprovalSettings}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/accessApprovalSettings}" + } + ] + }, + { + "shortName": "DismissApprovalRequest", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.DismissApprovalRequest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/approvalRequests/*}:dismiss" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/approvalRequests/*}:dismiss" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/approvalRequests/*}:dismiss" + } + ] + }, + { + "shortName": "GetAccessApprovalSettings", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetAccessApprovalSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/accessApprovalSettings}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/accessApprovalSettings}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/accessApprovalSettings}" + } + ] + }, + { + "shortName": "GetApprovalRequest", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.GetApprovalRequest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/approvalRequests/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/approvalRequests/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/approvalRequests/*}" + } + ] + }, + { + "shortName": "ListApprovalRequests", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.ListApprovalRequests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/approvalRequests" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/approvalRequests" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/approvalRequests" + } + ] + }, + { + "shortName": "UpdateAccessApprovalSettings", + "fullName": "google.cloud.accessapproval.v1.AccessApproval.UpdateAccessApprovalSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=projects/*/accessApprovalSettings}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=folders/*/accessApprovalSettings}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=organizations/*/accessApprovalSettings}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.aiplatform.v1", + "directory": "google/cloud/aiplatform/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "aiplatform.googleapis.com", + "title": "Vertex AI API", + "description": "Train high-quality custom machine learning models with minimal machine learning expertise and effort.", + "importDirectories": [ + "google/api", + "google/cloud/aiplatform/v1", + "google/cloud/aiplatform/v1/schema/trainingjob/definition", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.aiplatform.v1": 36, + "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, + "com.google.cloud.aiplatform.v1.schema.trainingjob.definition": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 72 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform": 36, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance": 9, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params": 6, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction": 10, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition": 11 + } + } + }, + "services": [ + { + "shortName": "DatasetService", + "fullName": "google.cloud.aiplatform.v1.DatasetService", + "methods": [ + { + "shortName": "CreateDataset", + "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "ExportData", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ExportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/datasets/*}:export" + } + ] + }, + { + "shortName": "GetAnnotationSpec", + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "ImportData", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ImportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/datasets/*}:import" + } + ] + }, + { + "shortName": "ListAnnotations", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListAnnotations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations" + } + ] + }, + { + "shortName": "ListDataItems", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDataItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/datasets/*}/dataItems" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "UpdateDataset", + "fullName": "google.cloud.aiplatform.v1.DatasetService.UpdateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{dataset.name=projects/*/locations/*/datasets/*}" + } + ] + } + ] + }, + { + "shortName": "EndpointService", + "fullName": "google.cloud.aiplatform.v1.EndpointService", + "methods": [ + { + "shortName": "CreateEndpoint", + "fullName": "google.cloud.aiplatform.v1.EndpointService.CreateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/endpoints" + } + ] + }, + { + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "DeployModel", + "fullName": "google.cloud.aiplatform.v1.EndpointService.DeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel" + } + ] + }, + { + "shortName": "GetEndpoint", + "fullName": "google.cloud.aiplatform.v1.EndpointService.GetEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.aiplatform.v1.EndpointService.ListEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/endpoints" + } + ] + }, + { + "shortName": "UndeployModel", + "fullName": "google.cloud.aiplatform.v1.EndpointService.UndeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel" + } + ] + }, + { + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{endpoint.name=projects/*/locations/*/endpoints/*}" + } + ] + } + ] + }, + { + "shortName": "JobService", + "fullName": "google.cloud.aiplatform.v1.JobService", + "methods": [ + { + "shortName": "CancelBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelCustomJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CancelCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/customJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}:cancel" + } + ] + }, + { + "shortName": "CreateBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/batchPredictionJobs" + } + ] + }, + { + "shortName": "CreateCustomJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CreateCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/customJobs" + } + ] + }, + { + "shortName": "CreateDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/dataLabelingJobs" + } + ] + }, + { + "shortName": "CreateHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/hyperparameterTuningJobs" + } + ] + }, + { + "shortName": "DeleteBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/batchPredictionJobs/*}" + } + ] + }, + { + "shortName": "DeleteCustomJob", + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/customJobs/*}" + } + ] + }, + { + "shortName": "DeleteDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataLabelingJobs/*}" + } + ] + }, + { + "shortName": "DeleteHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}" + } + ] + }, + { + "shortName": "GetBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/batchPredictionJobs/*}" + } + ] + }, + { + "shortName": "GetCustomJob", + "fullName": "google.cloud.aiplatform.v1.JobService.GetCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/customJobs/*}" + } + ] + }, + { + "shortName": "GetDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1.JobService.GetDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataLabelingJobs/*}" + } + ] + }, + { + "shortName": "GetHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}" + } + ] + }, + { + "shortName": "ListBatchPredictionJobs", + "fullName": "google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/batchPredictionJobs" + } + ] + }, + { + "shortName": "ListCustomJobs", + "fullName": "google.cloud.aiplatform.v1.JobService.ListCustomJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/customJobs" + } + ] + }, + { + "shortName": "ListDataLabelingJobs", + "fullName": "google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/dataLabelingJobs" + } + ] + }, + { + "shortName": "ListHyperparameterTuningJobs", + "fullName": "google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/hyperparameterTuningJobs" + } + ] + } + ] + }, + { + "shortName": "MigrationService", + "fullName": "google.cloud.aiplatform.v1.MigrationService", + "methods": [ + { + "shortName": "BatchMigrateResources", + "fullName": "google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/migratableResources:batchMigrate" + } + ] + }, + { + "shortName": "SearchMigratableResources", + "fullName": "google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/migratableResources:search" + } + ] + } + ] + }, + { + "shortName": "ModelService", + "fullName": "google.cloud.aiplatform.v1.ModelService", + "methods": [ + { + "shortName": "DeleteModel", + "fullName": "google.cloud.aiplatform.v1.ModelService.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "ExportModel", + "fullName": "google.cloud.aiplatform.v1.ModelService.ExportModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:export" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "GetModelEvaluation", + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/models/*/evaluations/*}" + } + ] + }, + { + "shortName": "GetModelEvaluationSlice", + "fullName": "google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/models/*/evaluations/*/slices/*}" + } + ] + }, + { + "shortName": "ListModelEvaluations", + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/models/*}/evaluations" + } + ] + }, + { + "shortName": "ListModelEvaluationSlices", + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/models/*/evaluations/*}/slices" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.aiplatform.v1.ModelService.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{model.name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "UploadModel", + "fullName": "google.cloud.aiplatform.v1.ModelService.UploadModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/models:upload" + } + ] + } + ] + }, + { + "shortName": "PipelineService", + "fullName": "google.cloud.aiplatform.v1.PipelineService", + "methods": [ + { + "shortName": "CancelTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1.PipelineService.CancelTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/trainingPipelines/*}:cancel" + } + ] + }, + { + "shortName": "CreateTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1.PipelineService.CreateTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/trainingPipelines" + } + ] + }, + { + "shortName": "DeleteTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1.PipelineService.DeleteTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/trainingPipelines/*}" + } + ] + }, + { + "shortName": "GetTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/trainingPipelines/*}" + } + ] + }, + { + "shortName": "ListTrainingPipelines", + "fullName": "google.cloud.aiplatform.v1.PipelineService.ListTrainingPipelines", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/trainingPipelines" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.aiplatform.v1.PredictionService", + "methods": [ + { + "shortName": "Predict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict" + } + ] + } + ] + }, + { + "shortName": "SpecialistPoolService", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService", + "methods": [ + { + "shortName": "CreateSpecialistPool", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/specialistPools" + } + ] + }, + { + "shortName": "DeleteSpecialistPool", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/specialistPools/*}" + } + ] + }, + { + "shortName": "GetSpecialistPool", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/specialistPools/*}" + } + ] + }, + { + "shortName": "ListSpecialistPools", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.ListSpecialistPools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/specialistPools" + } + ] + }, + { + "shortName": "UpdateSpecialistPool", + "fullName": "google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.aiplatform.v1beta1", + "directory": "google/cloud/aiplatform/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "aiplatform.googleapis.com", + "title": "Vertex AI API", + "description": "Train high-quality custom machine learning models with minimal machine learning expertise and effort.", + "importDirectories": [ + "google/api", + "google/cloud/aiplatform/v1beta1", + "google/cloud/aiplatform/v1beta1/schema", + "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.aiplatform.v1beta1": 71, + "com.google.cloud.aiplatform.v1beta1.schema": 5, + "com.google.cloud.aiplatform.v1beta1.schema.predict.instance": 9, + "com.google.cloud.aiplatform.v1beta1.schema.predict.params": 6, + "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction": 11, + "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition": 12 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 114 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform": 71, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema": 5, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance": 9, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params": 6, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction": 11, + "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition": 12 + } + } + }, + "services": [ + { + "shortName": "DatasetService", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService", + "methods": [ + { + "shortName": "CreateDataset", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "ExportData", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ExportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}:export" + } + ] + }, + { + "shortName": "GetAnnotationSpec", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "ImportData", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ImportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}:import" + } + ] + }, + { + "shortName": "ListAnnotations", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations" + } + ] + }, + { + "shortName": "ListDataItems", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*}/dataItems" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "UpdateDataset", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.UpdateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{dataset.name=projects/*/locations/*/datasets/*}" + } + ] + } + ] + }, + { + "shortName": "EndpointService", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService", + "methods": [ + { + "shortName": "CreateEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/endpoints" + } + ] + }, + { + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "DeployModel", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.DeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel" + } + ] + }, + { + "shortName": "GetEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.GetEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/endpoints" + } + ] + }, + { + "shortName": "UndeployModel", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel" + } + ] + }, + { + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{endpoint.name=projects/*/locations/*/endpoints/*}" + } + ] + } + ] + }, + { + "shortName": "FeaturestoreOnlineServingService", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService", + "methods": [ + { + "shortName": "ReadFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:readFeatureValues" + } + ] + }, + { + "shortName": "StreamingReadFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.StreamingReadFeatureValues", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:streamingReadFeatureValues" + } + ] + } + ] + }, + { + "shortName": "FeaturestoreService", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService", + "methods": [ + { + "shortName": "BatchCreateFeatures", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features:batchCreate" + } + ] + }, + { + "shortName": "BatchReadFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{featurestore=projects/*/locations/*/featurestores/*}:batchReadFeatureValues" + } + ] + }, + { + "shortName": "CreateEntityType", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/featurestores/*}/entityTypes" + } + ] + }, + { + "shortName": "CreateFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features" + } + ] + }, + { + "shortName": "CreateFeaturestore", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeaturestore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/featurestores" + } + ] + }, + { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}" + } + ] + }, + { + "shortName": "DeleteFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}" + } + ] + }, + { + "shortName": "DeleteFeaturestore", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeaturestore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*}" + } + ] + }, + { + "shortName": "ExportFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:exportFeatureValues" + } + ] + }, + { + "shortName": "GetEntityType", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}" + } + ] + }, + { + "shortName": "GetFeaturestore", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeaturestore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featurestores/*}" + } + ] + }, + { + "shortName": "ImportFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:importFeatureValues" + } + ] + }, + { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/featurestores/*}/entityTypes" + } + ] + }, + { + "shortName": "ListFeatures", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features" + } + ] + }, + { + "shortName": "ListFeaturestores", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/featurestores" + } + ] + }, + { + "shortName": "SearchFeatures", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{location=projects/*/locations/*}/featurestores:searchFeatures" + } + ] + }, + { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{entity_type.name=projects/*/locations/*/featurestores/*/entityTypes/*}" + } + ] + }, + { + "shortName": "UpdateFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{feature.name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}" + } + ] + }, + { + "shortName": "UpdateFeaturestore", + "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeaturestore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{featurestore.name=projects/*/locations/*/featurestores/*}" + } + ] + } + ] + }, + { + "shortName": "IndexEndpointService", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService", + "methods": [ + { + "shortName": "CreateIndexEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/indexEndpoints" + } + ] + }, + { + "shortName": "DeleteIndexEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/indexEndpoints/*}" + } + ] + }, + { + "shortName": "DeployIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex" + } + ] + }, + { + "shortName": "GetIndexEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/indexEndpoints/*}" + } + ] + }, + { + "shortName": "ListIndexEndpoints", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/indexEndpoints" + } + ] + }, + { + "shortName": "UndeployIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex" + } + ] + }, + { + "shortName": "UpdateIndexEndpoint", + "fullName": "google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}" + } + ] + } + ] + }, + { + "shortName": "IndexService", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService", + "methods": [ + { + "shortName": "CreateIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.CreateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/indexes" + } + ] + }, + { + "shortName": "DeleteIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/indexes/*}" + } + ] + }, + { + "shortName": "GetIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.GetIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/indexes/*}" + } + ] + }, + { + "shortName": "ListIndexes", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.ListIndexes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/indexes" + } + ] + }, + { + "shortName": "UpdateIndex", + "fullName": "google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{index.name=projects/*/locations/*/indexes/*}" + } + ] + } + ] + }, + { + "shortName": "JobService", + "fullName": "google.cloud.aiplatform.v1beta1.JobService", + "methods": [ + { + "shortName": "CancelBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelCustomJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/customJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}:cancel" + } + ] + }, + { + "shortName": "CreateBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/batchPredictionJobs" + } + ] + }, + { + "shortName": "CreateCustomJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/customJobs" + } + ] + }, + { + "shortName": "CreateDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/dataLabelingJobs" + } + ] + }, + { + "shortName": "CreateHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/hyperparameterTuningJobs" + } + ] + }, + { + "shortName": "CreateModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs" + } + ] + }, + { + "shortName": "DeleteBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}" + } + ] + }, + { + "shortName": "DeleteCustomJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/customJobs/*}" + } + ] + }, + { + "shortName": "DeleteDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}" + } + ] + }, + { + "shortName": "DeleteHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}" + } + ] + }, + { + "shortName": "DeleteModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}" + } + ] + }, + { + "shortName": "GetBatchPredictionJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/batchPredictionJobs/*}" + } + ] + }, + { + "shortName": "GetCustomJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetCustomJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/customJobs/*}" + } + ] + }, + { + "shortName": "GetDataLabelingJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}" + } + ] + }, + { + "shortName": "GetHyperparameterTuningJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}" + } + ] + }, + { + "shortName": "GetModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}" + } + ] + }, + { + "shortName": "ListBatchPredictionJobs", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/batchPredictionJobs" + } + ] + }, + { + "shortName": "ListCustomJobs", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/customJobs" + } + ] + }, + { + "shortName": "ListDataLabelingJobs", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/dataLabelingJobs" + } + ] + }, + { + "shortName": "ListHyperparameterTuningJobs", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/hyperparameterTuningJobs" + } + ] + }, + { + "shortName": "ListModelDeploymentMonitoringJobs", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs" + } + ] + }, + { + "shortName": "PauseModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause" + } + ] + }, + { + "shortName": "ResumeModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume" + } + ] + }, + { + "shortName": "SearchModelDeploymentMonitoringStatsAnomalies", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{model_deployment_monitoring_job=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:searchModelDeploymentMonitoringStatsAnomalies" + } + ] + }, + { + "shortName": "UpdateModelDeploymentMonitoringJob", + "fullName": "google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{model_deployment_monitoring_job.name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}" + } + ] + } + ] + }, + { + "shortName": "MetadataService", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService", + "methods": [ + { + "shortName": "AddContextArtifactsAndExecutions", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextArtifactsAndExecutions" + } + ] + }, + { + "shortName": "AddContextChildren", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextChildren" + } + ] + }, + { + "shortName": "AddExecutionEvents", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:addExecutionEvents" + } + ] + }, + { + "shortName": "CreateArtifact", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateArtifact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/artifacts" + } + ] + }, + { + "shortName": "CreateContext", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/contexts" + } + ] + }, + { + "shortName": "CreateExecution", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/executions" + } + ] + }, + { + "shortName": "CreateMetadataSchema", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas" + } + ] + }, + { + "shortName": "CreateMetadataStore", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/metadataStores" + } + ] + }, + { + "shortName": "DeleteContext", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*}" + } + ] + }, + { + "shortName": "DeleteMetadataStore", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*}" + } + ] + }, + { + "shortName": "GetArtifact", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetArtifact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}" + } + ] + }, + { + "shortName": "GetContext", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*}" + } + ] + }, + { + "shortName": "GetExecution", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*}" + } + ] + }, + { + "shortName": "GetMetadataSchema", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*/metadataSchemas/*}" + } + ] + }, + { + "shortName": "GetMetadataStore", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/metadataStores/*}" + } + ] + }, + { + "shortName": "ListArtifacts", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/artifacts" + } + ] + }, + { + "shortName": "ListContexts", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListContexts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/contexts" + } + ] + }, + { + "shortName": "ListExecutions", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/executions" + } + ] + }, + { + "shortName": "ListMetadataSchemas", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas" + } + ] + }, + { + "shortName": "ListMetadataStores", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/metadataStores" + } + ] + }, + { + "shortName": "QueryArtifactLineageSubgraph", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{artifact=projects/*/locations/*/metadataStores/*/artifacts/*}:queryArtifactLineageSubgraph" + } + ] + }, + { + "shortName": "QueryContextLineageSubgraph", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:queryContextLineageSubgraph" + } + ] + }, + { + "shortName": "QueryExecutionInputsAndOutputs", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.QueryExecutionInputsAndOutputs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:queryExecutionInputsAndOutputs" + } + ] + }, + { + "shortName": "UpdateArtifact", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{artifact.name=projects/*/locations/*/metadataStores/*/artifacts/*}" + } + ] + }, + { + "shortName": "UpdateContext", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{context.name=projects/*/locations/*/metadataStores/*/contexts/*}" + } + ] + }, + { + "shortName": "UpdateExecution", + "fullName": "google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{execution.name=projects/*/locations/*/metadataStores/*/executions/*}" + } + ] + } + ] + }, + { + "shortName": "MigrationService", + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService", + "methods": [ + { + "shortName": "BatchMigrateResources", + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/migratableResources:batchMigrate" + } + ] + }, + { + "shortName": "SearchMigratableResources", + "fullName": "google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/migratableResources:search" + } + ] + } + ] + }, + { + "shortName": "ModelService", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService", + "methods": [ + { + "shortName": "DeleteModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "ExportModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ExportModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:export" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "GetModelEvaluation", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*}" + } + ] + }, + { + "shortName": "GetModelEvaluationSlice", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSlice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/slices/*}" + } + ] + }, + { + "shortName": "ListModelEvaluations", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/models/*}/evaluations" + } + ] + }, + { + "shortName": "ListModelEvaluationSlices", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/models/*/evaluations/*}/slices" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{model.name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "UploadModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelService.UploadModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/models:upload" + } + ] + } + ] + }, + { + "shortName": "PipelineService", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", + "methods": [ + { + "shortName": "CancelPipelineJob", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelPipelineJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/pipelineJobs/*}:cancel" + } + ] + }, + { + "shortName": "CancelTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/trainingPipelines/*}:cancel" + } + ] + }, + { + "shortName": "CreatePipelineJob", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreatePipelineJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs" + } + ] + }, + { + "shortName": "CreateTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CreateTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/trainingPipelines" + } + ] + }, + { + "shortName": "DeletePipelineJob", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeletePipelineJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/pipelineJobs/*}" + } + ] + }, + { + "shortName": "DeleteTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.DeleteTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/trainingPipelines/*}" + } + ] + }, + { + "shortName": "GetPipelineJob", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetPipelineJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/pipelineJobs/*}" + } + ] + }, + { + "shortName": "GetTrainingPipeline", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.GetTrainingPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/trainingPipelines/*}" + } + ] + }, + { + "shortName": "ListPipelineJobs", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListPipelineJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs" + } + ] + }, + { + "shortName": "ListTrainingPipelines", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.ListTrainingPipelines", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/trainingPipelines" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", + "methods": [ + { + "shortName": "Explain", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Explain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:explain" + } + ] + }, + { + "shortName": "Predict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:predict" + } + ] + } + ] + }, + { + "shortName": "SpecialistPoolService", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "methods": [ + { + "shortName": "CreateSpecialistPool", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.CreateSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/specialistPools" + } + ] + }, + { + "shortName": "DeleteSpecialistPool", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.DeleteSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/specialistPools/*}" + } + ] + }, + { + "shortName": "GetSpecialistPool", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.GetSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/specialistPools/*}" + } + ] + }, + { + "shortName": "ListSpecialistPools", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.ListSpecialistPools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/specialistPools" + } + ] + }, + { + "shortName": "UpdateSpecialistPool", + "fullName": "google.cloud.aiplatform.v1beta1.SpecialistPoolService.UpdateSpecialistPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}" + } + ] + } + ] + }, + { + "shortName": "TensorboardService", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService", + "methods": [ + { + "shortName": "CreateTensorboard", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/tensorboards" + } + ] + }, + { + "shortName": "CreateTensorboardExperiment", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*}/experiments" + } + ] + }, + { + "shortName": "CreateTensorboardRun", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs" + } + ] + }, + { + "shortName": "CreateTensorboardTimeSeries", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries" + } + ] + }, + { + "shortName": "DeleteTensorboard", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*}" + } + ] + }, + { + "shortName": "DeleteTensorboardExperiment", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*}" + } + ] + }, + { + "shortName": "DeleteTensorboardRun", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" + } + ] + }, + { + "shortName": "DeleteTensorboardTimeSeries", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.DeleteTensorboardTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" + } + ] + }, + { + "shortName": "ExportTensorboardTimeSeriesData", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ExportTensorboardTimeSeriesData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries" + } + ] + }, + { + "shortName": "GetTensorboard", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*}" + } + ] + }, + { + "shortName": "GetTensorboardExperiment", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*}" + } + ] + }, + { + "shortName": "GetTensorboardRun", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" + } + ] + }, + { + "shortName": "GetTensorboardTimeSeries", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.GetTensorboardTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" + } + ] + }, + { + "shortName": "ListTensorboardExperiments", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*}/experiments" + } + ] + }, + { + "shortName": "ListTensorboardRuns", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs" + } + ] + }, + { + "shortName": "ListTensorboards", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboards", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/tensorboards" + } + ] + }, + { + "shortName": "ListTensorboardTimeSeries", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboardTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries" + } + ] + }, + { + "shortName": "ReadTensorboardBlobData", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardBlobData", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData" + } + ] + }, + { + "shortName": "ReadTensorboardTimeSeriesData", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardTimeSeriesData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read" + } + ] + }, + { + "shortName": "UpdateTensorboard", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tensorboard.name=projects/*/locations/*/tensorboards/*}" + } + ] + }, + { + "shortName": "UpdateTensorboardExperiment", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}" + } + ] + }, + { + "shortName": "UpdateTensorboardRun", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}" + } + ] + }, + { + "shortName": "UpdateTensorboardTimeSeries", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.UpdateTensorboardTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}" + } + ] + }, + { + "shortName": "WriteTensorboardRunData", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.WriteTensorboardRunData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write" + } + ] + } + ] + }, + { + "shortName": "VizierService", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService", + "methods": [ + { + "shortName": "AddTrialMeasurement", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.AddTrialMeasurement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{trial_name=projects/*/locations/*/studies/*/trials/*}:addTrialMeasurement" + } + ] + }, + { + "shortName": "CheckTrialEarlyStoppingState", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CheckTrialEarlyStoppingState", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{trial_name=projects/*/locations/*/studies/*/trials/*}:checkTrialEarlyStoppingState" + } + ] + }, + { + "shortName": "CompleteTrial", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}:complete" + } + ] + }, + { + "shortName": "CreateStudy", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateStudy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/studies" + } + ] + }, + { + "shortName": "CreateTrial", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.CreateTrial", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/studies/*}/trials" + } + ] + }, + { + "shortName": "DeleteStudy", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteStudy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*}" + } + ] + }, + { + "shortName": "DeleteTrial", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.DeleteTrial", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}" + } + ] + }, + { + "shortName": "GetStudy", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetStudy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*}" + } + ] + }, + { + "shortName": "GetTrial", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.GetTrial", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}" + } + ] + }, + { + "shortName": "ListOptimalTrials", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListOptimalTrials", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/studies/*}/trials:listOptimalTrials" + } + ] + }, + { + "shortName": "ListStudies", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListStudies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/studies" + } + ] + }, + { + "shortName": "ListTrials", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.ListTrials", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/studies/*}/trials" + } + ] + }, + { + "shortName": "LookupStudy", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.LookupStudy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/studies:lookup" + } + ] + }, + { + "shortName": "StopTrial", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.StopTrial", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}:stop" + } + ] + }, + { + "shortName": "SuggestTrials", + "fullName": "google.cloud.aiplatform.v1beta1.VizierService.SuggestTrials", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/studies/*}/trials:suggest" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.apigateway.v1", + "directory": "google/cloud/apigateway/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "apigateway.googleapis.com", + "title": "API Gateway API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/apigateway/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.apigateway.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/apigateway/v1;apigateway": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ApiGateway.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ApiGateway\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ApiGateway::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ApiGatewayService", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService", + "methods": [ + { + "shortName": "CreateApi", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApi", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/apis" + } + ] + }, + { + "shortName": "CreateApiConfig", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateApiConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/apis/*}/configs" + } + ] + }, + { + "shortName": "CreateGateway", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.CreateGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/gateways" + } + ] + }, + { + "shortName": "DeleteApi", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApi", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/apis/*}" + } + ] + }, + { + "shortName": "DeleteApiConfig", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteApiConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/apis/*/configs/*}" + } + ] + }, + { + "shortName": "DeleteGateway", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.DeleteGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/gateways/*}" + } + ] + }, + { + "shortName": "GetApi", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApi", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/apis/*}" + } + ] + }, + { + "shortName": "GetApiConfig", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetApiConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/apis/*/configs/*}" + } + ] + }, + { + "shortName": "GetGateway", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.GetGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/gateways/*}" + } + ] + }, + { + "shortName": "ListApiConfigs", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApiConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/apis/*}/configs" + } + ] + }, + { + "shortName": "ListApis", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListApis", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/apis" + } + ] + }, + { + "shortName": "ListGateways", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.ListGateways", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/gateways" + } + ] + }, + { + "shortName": "UpdateApi", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApi", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{api.name=projects/*/locations/*/apis/*}" + } + ] + }, + { + "shortName": "UpdateApiConfig", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateApiConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{api_config.name=projects/*/locations/*/apis/*/configs/*}" + } + ] + }, + { + "shortName": "UpdateGateway", + "fullName": "google.cloud.apigateway.v1.ApiGatewayService.UpdateGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{gateway.name=projects/*/locations/*/gateways/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.apigeeconnect.v1", + "directory": "google/cloud/apigeeconnect/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "apigeeconnect.googleapis.com", + "title": "Apigee Connect API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.apigeeconnect.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1;apigeeconnect": 2 + } + } + }, + "services": [ + { + "shortName": "ConnectionService", + "fullName": "google.cloud.apigeeconnect.v1.ConnectionService", + "methods": [ + { + "shortName": "ListConnections", + "fullName": "google.cloud.apigeeconnect.v1.ConnectionService.ListConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/endpoints/*}/connections" + } + ] + } + ] + }, + { + "shortName": "Tether", + "fullName": "google.cloud.apigeeconnect.v1.Tether", + "methods": [ + { + "shortName": "Egress", + "fullName": "google.cloud.apigeeconnect.v1.Tether.Egress", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1", + "directory": "google/cloud/asset/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1", + "google/cloud/orgpolicy/v1", + "google/cloud/osconfig/v1", + "google/iam/v1", + "google/identity/accesscontextmanager/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1.AssetService", + "methods": [ + { + "shortName": "AnalyzeIamPolicy", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicy" + } + ] + }, + { + "shortName": "AnalyzeIamPolicyLongrunning", + "fullName": "google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicyLongrunning" + } + ] + }, + { + "shortName": "BatchGetAssetsHistory", + "fullName": "google.cloud.asset.v1.AssetService.BatchGetAssetsHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=*/*}:batchGetAssetsHistory" + } + ] + }, + { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1.AssetService.CreateFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=*/*}/feeds" + } + ] + }, + { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1.AssetService.DeleteFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=*/*/feeds/*}" + } + ] + }, + { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1.AssetService.ExportAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=*/*}:exportAssets" + } + ] + }, + { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1.AssetService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=*/*/feeds/*}" + } + ] + }, + { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1.AssetService.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=*/*}/assets" + } + ] + }, + { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1.AssetService.ListFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=*/*}/feeds" + } + ] + }, + { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllIamPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{scope=*/*}:searchAllIamPolicies" + } + ] + }, + { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1.AssetService.SearchAllResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{scope=*/*}:searchAllResources" + } + ] + }, + { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1.AssetService.UpdateFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{feed.name=*/*/feeds/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1p1beta1", + "directory": "google/cloud/asset/v1p1beta1", + "version": "v1p1beta1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1p1beta1", + "google/iam/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1p1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.V1P1Beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1p1beta1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p1beta1.AssetService", + "methods": [ + { + "shortName": "SearchAllIamPolicies", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{scope=*/*}/iamPolicies:searchAll" + } + ] + }, + { + "shortName": "SearchAllResources", + "fullName": "google.cloud.asset.v1p1beta1.AssetService.SearchAllResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{scope=*/*}/resources:searchAll" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1p2beta1", + "directory": "google/cloud/asset/v1p2beta1", + "version": "v1p2beta1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1p2beta1", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1p2beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.v1p2beta1": 1, + "Google.Cloud.Asset.V1p2Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1p2beta1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p2beta1.AssetService", + "methods": [ + { + "shortName": "CreateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.CreateFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p2beta1/{parent=*/*}/feeds" + } + ] + }, + { + "shortName": "DeleteFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.DeleteFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p2beta1/{name=*/*/feeds/*}" + } + ] + }, + { + "shortName": "GetFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.GetFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p2beta1/{name=*/*/feeds/*}" + } + ] + }, + { + "shortName": "ListFeeds", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.ListFeeds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p2beta1/{parent=*/*}/feeds" + } + ] + }, + { + "shortName": "UpdateFeed", + "fullName": "google.cloud.asset.v1p2beta1.AssetService.UpdateFeed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p2beta1/{feed.name=*/*/feeds/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1p4beta1", + "directory": "google/cloud/asset/v1p4beta1", + "version": "v1p4beta1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1p4beta1", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1p4beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.V1P4Beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1p4beta1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p4beta1.AssetService", + "methods": [ + { + "shortName": "AnalyzeIamPolicy", + "fullName": "google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{analysis_query.parent=*/*}:analyzeIamPolicy" + } + ] + }, + { + "shortName": "ExportIamPolicyAnalysis", + "fullName": "google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{analysis_query.parent=*/*}:exportIamPolicyAnalysis" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1p5beta1", + "directory": "google/cloud/asset/v1p5beta1", + "version": "v1p5beta1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1p5beta1", + "google/cloud/orgpolicy/v1", + "google/iam/v1", + "google/identity/accesscontextmanager/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1p5beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.V1p5Beta1": 1, + "Google.Cloud.Asset.V1P5Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1p5beta1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p5beta1.AssetService", + "methods": [ + { + "shortName": "ListAssets", + "fullName": "google.cloud.asset.v1p5beta1.AssetService.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p5beta1/{parent=*/*}/assets" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.asset.v1p7beta1", + "directory": "google/cloud/asset/v1p7beta1", + "version": "v1p7beta1", + "majorVersion": "v1", + "hostName": "cloudasset.googleapis.com", + "title": "Cloud Asset API", + "description": "The cloud asset API manages the history and inventory of cloud resources.", + "importDirectories": [ + "google/api", + "google/cloud/asset/v1p7beta1", + "google/cloud/orgpolicy/v1", + "google/cloud/osconfig/v1", + "google/iam/v1", + "google/identity/accesscontextmanager/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.asset.v1p7beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1;asset": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Asset.V1P7Beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Asset\\V1p7beta1": 2 + } + } + }, + "services": [ + { + "shortName": "AssetService", + "fullName": "google.cloud.asset.v1p7beta1.AssetService", + "methods": [ + { + "shortName": "ExportAssets", + "fullName": "google.cloud.asset.v1p7beta1.AssetService.ExportAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p7beta1/{parent=*/*}:exportAssets" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.assuredworkloads.v1beta1", + "directory": "google/cloud/assuredworkloads/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "assuredworkloads.googleapis.com", + "title": "Assured Workloads API", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.assuredworkloads.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1;assuredworkloads": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AssuredWorkloads.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AssuredWorkloads\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AssuredWorkloads::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "AssuredWorkloadsService", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService", + "methods": [ + { + "shortName": "CreateWorkload", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.CreateWorkload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*/locations/*}/workloads" + } + ] + }, + { + "shortName": "DeleteWorkload", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.DeleteWorkload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=organizations/*/locations/*/workloads/*}" + } + ] + }, + { + "shortName": "GetWorkload", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.GetWorkload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/locations/*/workloads/*}" + } + ] + }, + { + "shortName": "ListWorkloads", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.ListWorkloads", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*/locations/*}/workloads" + } + ] + }, + { + "shortName": "UpdateWorkload", + "fullName": "google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService.UpdateWorkload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{workload.name=organizations/*/locations/*/workloads/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.automl.v1", + "directory": "google/cloud/automl/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "automl.googleapis.com", + "title": "Cloud AutoML API", + "description": "Train high-quality custom machine learning models with minimum effort and machine learning expertise.", + "importDirectories": [ + "google/api", + "google/cloud/automl/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.automl.v1": 19 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 19 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/automl/v1;automl": 19 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AutoML.V1": 19 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AutoMl\\V1": 19 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AutoML::V1": 19 + } + } + }, + "services": [ + { + "shortName": "AutoMl", + "fullName": "google.cloud.automl.v1.AutoMl", + "methods": [ + { + "shortName": "CreateDataset", + "fullName": "google.cloud.automl.v1.AutoMl.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "CreateModel", + "fullName": "google.cloud.automl.v1.AutoMl.CreateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.cloud.automl.v1.AutoMl.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "DeleteModel", + "fullName": "google.cloud.automl.v1.AutoMl.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "DeployModel", + "fullName": "google.cloud.automl.v1.AutoMl.DeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:deploy" + } + ] + }, + { + "shortName": "ExportData", + "fullName": "google.cloud.automl.v1.AutoMl.ExportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/datasets/*}:exportData" + } + ] + }, + { + "shortName": "ExportModel", + "fullName": "google.cloud.automl.v1.AutoMl.ExportModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:export" + } + ] + }, + { + "shortName": "GetAnnotationSpec", + "fullName": "google.cloud.automl.v1.AutoMl.GetAnnotationSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.cloud.automl.v1.AutoMl.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.automl.v1.AutoMl.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "GetModelEvaluation", + "fullName": "google.cloud.automl.v1.AutoMl.GetModelEvaluation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/models/*/modelEvaluations/*}" + } + ] + }, + { + "shortName": "ImportData", + "fullName": "google.cloud.automl.v1.AutoMl.ImportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/datasets/*}:importData" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.cloud.automl.v1.AutoMl.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "ListModelEvaluations", + "fullName": "google.cloud.automl.v1.AutoMl.ListModelEvaluations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/models/*}/modelEvaluations" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.automl.v1.AutoMl.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "UndeployModel", + "fullName": "google.cloud.automl.v1.AutoMl.UndeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:undeploy" + } + ] + }, + { + "shortName": "UpdateDataset", + "fullName": "google.cloud.automl.v1.AutoMl.UpdateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{dataset.name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.automl.v1.AutoMl.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{model.name=projects/*/locations/*/models/*}" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.automl.v1.PredictionService", + "methods": [ + { + "shortName": "BatchPredict", + "fullName": "google.cloud.automl.v1.PredictionService.BatchPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:batchPredict" + } + ] + }, + { + "shortName": "Predict", + "fullName": "google.cloud.automl.v1.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/models/*}:predict" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.automl.v1beta1", + "directory": "google/cloud/automl/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "automl.googleapis.com", + "title": "Cloud AutoML API", + "description": "Train high-quality custom machine learning models with minimum effort and machine learning expertise.", + "importDirectories": [ + "google/api", + "google/cloud/automl/v1beta1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.automl.v1beta1": 28 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 25, + "": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl": 28 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AutoMl\\V1beta1": 28 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AutoML::V1beta1": 28 + } + } + }, + "services": [ + { + "shortName": "AutoMl", + "fullName": "google.cloud.automl.v1beta1.AutoMl", + "methods": [ + { + "shortName": "CreateDataset", + "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "CreateModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.CreateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "DeleteModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "DeployModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.DeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:deploy" + } + ] + }, + { + "shortName": "ExportData", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}:exportData" + } + ] + }, + { + "shortName": "ExportEvaluatedExamples", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:exportEvaluatedExamples" + } + ] + }, + { + "shortName": "ExportModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ExportModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:export" + } + ] + }, + { + "shortName": "GetAnnotationSpec", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" + } + ] + }, + { + "shortName": "GetColumnSpec", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetColumnSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/tableSpecs/*/columnSpecs/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}" + } + ] + }, + { + "shortName": "GetModelEvaluation", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/models/*/modelEvaluations/*}" + } + ] + }, + { + "shortName": "GetTableSpec", + "fullName": "google.cloud.automl.v1beta1.AutoMl.GetTableSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/tableSpecs/*}" + } + ] + }, + { + "shortName": "ImportData", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ImportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*}:importData" + } + ] + }, + { + "shortName": "ListColumnSpecs", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*/tableSpecs/*}/columnSpecs" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/datasets" + } + ] + }, + { + "shortName": "ListModelEvaluations", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/models/*}/modelEvaluations" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/models" + } + ] + }, + { + "shortName": "ListTableSpecs", + "fullName": "google.cloud.automl.v1beta1.AutoMl.ListTableSpecs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*}/tableSpecs" + } + ] + }, + { + "shortName": "UndeployModel", + "fullName": "google.cloud.automl.v1beta1.AutoMl.UndeployModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:undeploy" + } + ] + }, + { + "shortName": "UpdateColumnSpec", + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{column_spec.name=projects/*/locations/*/datasets/*/tableSpecs/*/columnSpecs/*}" + } + ] + }, + { + "shortName": "UpdateDataset", + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{dataset.name=projects/*/locations/*/datasets/*}" + } + ] + }, + { + "shortName": "UpdateTableSpec", + "fullName": "google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{table_spec.name=projects/*/locations/*/datasets/*/tableSpecs/*}" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.automl.v1beta1.PredictionService", + "methods": [ + { + "shortName": "BatchPredict", + "fullName": "google.cloud.automl.v1beta1.PredictionService.BatchPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:batchPredict" + } + ] + }, + { + "shortName": "Predict", + "fullName": "google.cloud.automl.v1beta1.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/models/*}:predict" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.connection.v1", + "directory": "google/cloud/bigquery/connection/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "bigqueryconnection.googleapis.com", + "title": "BigQuery Connection API", + "description": "Allows users to manage BigQuery connections to external data sources.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.connection.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1;connection": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BigQuery.Connection.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\Connection\\V1": 1 + } + } + }, + "services": [ + { + "shortName": "ConnectionService", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService", + "methods": [ + { + "shortName": "CreateConnection", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/connections" + } + ] + }, + { + "shortName": "DeleteConnection", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "GetConnection", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/connections/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListConnections", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.ListConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/connections" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/connections/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/connections/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateConnection", + "fullName": "google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/connections/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.connection.v1beta1", + "directory": "google/cloud/bigquery/connection/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "bigqueryconnection.googleapis.com", + "title": "BigQuery Connection API", + "description": "Allows users to manage BigQuery connections to external data sources.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.connection.v1beta1": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1;connection": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BigQuery.Connection.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\Connection\\V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "ConnectionService", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService", + "methods": [ + { + "shortName": "CreateConnection", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/connections" + } + ] + }, + { + "shortName": "DeleteConnection", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.DeleteConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "GetConnection", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/connections/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListConnections", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/connections" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/connections/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/connections/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateConnection", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "UpdateConnectionCredential", + "fullName": "google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/connections/*/credential}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.datatransfer.v1", + "directory": "google/cloud/bigquery/datatransfer/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "bigquerydatatransfer.googleapis.com", + "title": "BigQuery Data Transfer API", + "description": "Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.", + "importDirectories": [ + "google/api", + "google/cloud/bigquery/datatransfer/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.datatransfer.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1;datatransfer": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCBDT": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BigQuery.DataTransfer.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\DataTransfer\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Bigquery::DataTransfer::V1": 2 + } + } + }, + "services": [ + { + "shortName": "DataTransferService", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService", + "methods": [ + { + "shortName": "CheckValidCreds", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CheckValidCreds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/dataSources/*}:checkValidCreds" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/dataSources/*}:checkValidCreds" + } + ] + }, + { + "shortName": "CreateTransferConfig", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.CreateTransferConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/transferConfigs" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/transferConfigs" + } + ] + }, + { + "shortName": "DeleteTransferConfig", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/transferConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/transferConfigs/*}" + } + ] + }, + { + "shortName": "DeleteTransferRun", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.DeleteTransferRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/transferConfigs/*/runs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/transferConfigs/*/runs/*}" + } + ] + }, + { + "shortName": "GetDataSource", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetDataSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataSources/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/dataSources/*}" + } + ] + }, + { + "shortName": "GetTransferConfig", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/transferConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/transferConfigs/*}" + } + ] + }, + { + "shortName": "GetTransferRun", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.GetTransferRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/transferConfigs/*/runs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/transferConfigs/*/runs/*}" + } + ] + }, + { + "shortName": "ListDataSources", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListDataSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/dataSources" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/dataSources" + } + ] + }, + { + "shortName": "ListTransferConfigs", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/transferConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/transferConfigs" + } + ] + }, + { + "shortName": "ListTransferLogs", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferLogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/transferConfigs/*/runs/*}/transferLogs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/transferConfigs/*/runs/*}/transferLogs" + } + ] + }, + { + "shortName": "ListTransferRuns", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ListTransferRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/transferConfigs/*}/runs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/transferConfigs/*}/runs" + } + ] + }, + { + "shortName": "ScheduleTransferRuns", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.ScheduleTransferRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/transferConfigs/*}:scheduleRuns" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/transferConfigs/*}:scheduleRuns" + } + ] + }, + { + "shortName": "StartManualTransferRuns", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.StartManualTransferRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/transferConfigs/*}:startManualRuns" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/transferConfigs/*}:startManualRuns" + } + ] + }, + { + "shortName": "UpdateTransferConfig", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UpdateTransferConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{transfer_config.name=projects/*/locations/*/transferConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{transfer_config.name=projects/*/transferConfigs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.migration.v2alpha", + "directory": "google/cloud/bigquery/migration/v2alpha", + "version": "v2alpha", + "majorVersion": "v2", + "hostName": "bigquerymigration.googleapis.com", + "title": "BigQuery Migration API", + "description": "The BigQuery migration service, exposing apis for migration jobs operations, and agent management.", + "importDirectories": [ + "google/api", + "google/cloud/bigquery/migration/v2alpha", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.migration.v2alpha": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration": 4 + } + } + }, + "services": [ + { + "shortName": "MigrationService", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService", + "methods": [ + { + "shortName": "CreateMigrationWorkflow", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.CreateMigrationWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "DeleteMigrationWorkflow", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.DeleteMigrationWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "GetMigrationSubtask", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationSubtask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/workflows/*/subtasks/*}" + } + ] + }, + { + "shortName": "GetMigrationWorkflow", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.GetMigrationWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "ListMigrationSubtasks", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationSubtasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/workflows/*}/subtasks" + } + ] + }, + { + "shortName": "ListMigrationWorkflows", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.ListMigrationWorkflows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "StartMigrationWorkflow", + "fullName": "google.cloud.bigquery.migration.v2alpha.MigrationService.StartMigrationWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{name=projects/*/locations/*/workflows/*}:start" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.reservation.v1", + "directory": "google/cloud/bigquery/reservation/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "bigqueryreservation.googleapis.com", + "title": "BigQuery Reservation API", + "description": "A service to modify your BigQuery flat-rate reservations.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.reservation.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1;reservation": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BigQuery.Reservation.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\Reservation\\V1": 1 + } + } + }, + "services": [ + { + "shortName": "ReservationService", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService", + "methods": [ + { + "shortName": "CreateAssignment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments" + } + ] + }, + { + "shortName": "CreateCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/capacityCommitments" + } + ] + }, + { + "shortName": "CreateReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "DeleteAssignment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}" + } + ] + }, + { + "shortName": "DeleteCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "DeleteReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "GetBiReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetBiReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/biReservation}" + } + ] + }, + { + "shortName": "GetCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "GetReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.GetReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "ListAssignments", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/reservations/*}/assignments" + } + ] + }, + { + "shortName": "ListCapacityCommitments", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/capacityCommitments" + } + ] + }, + { + "shortName": "ListReservations", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.ListReservations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "MergeCapacityCommitments", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/capacityCommitments:merge" + } + ] + }, + { + "shortName": "MoveAssignment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}:move" + } + ] + }, + { + "shortName": "SearchAssignments", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}:searchAssignments" + } + ] + }, + { + "shortName": "SplitCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/capacityCommitments/*}:split" + } + ] + }, + { + "shortName": "UpdateBiReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateBiReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{bi_reservation.name=projects/*/locations/*/biReservation}" + } + ] + }, + { + "shortName": "UpdateCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "UpdateReservation", + "fullName": "google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{reservation.name=projects/*/locations/*/reservations/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.reservation.v1beta1", + "directory": "google/cloud/bigquery/reservation/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "bigqueryreservation.googleapis.com", + "title": "BigQuery Reservation API", + "description": "A service to modify your BigQuery flat-rate reservations.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.reservation.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1beta1;reservation": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\Reservation\\V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "ReservationService", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService", + "methods": [ + { + "shortName": "CreateAssignment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/reservations/*}/assignments" + } + ] + }, + { + "shortName": "CreateCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/capacityCommitments" + } + ] + }, + { + "shortName": "CreateReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "DeleteAssignment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/reservations/*/assignments/*}" + } + ] + }, + { + "shortName": "DeleteCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "DeleteReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "GetBiReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.GetBiReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/biReservation}" + } + ] + }, + { + "shortName": "GetCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.GetCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "GetReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.GetReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "ListAssignments", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.ListAssignments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/reservations/*}/assignments" + } + ] + }, + { + "shortName": "ListCapacityCommitments", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.ListCapacityCommitments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/capacityCommitments" + } + ] + }, + { + "shortName": "ListReservations", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "MergeCapacityCommitments", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.MergeCapacityCommitments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/capacityCommitments:merge" + } + ] + }, + { + "shortName": "MoveAssignment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.MoveAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/reservations/*/assignments/*}:move" + } + ] + }, + { + "shortName": "SearchAssignments", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.SearchAssignments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}:searchAssignments" + } + ] + }, + { + "shortName": "SplitCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.SplitCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/capacityCommitments/*}:split" + } + ] + }, + { + "shortName": "UpdateBiReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateBiReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{reservation.name=projects/*/locations/*/biReservation}" + } + ] + }, + { + "shortName": "UpdateCapacityCommitment", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateCapacityCommitment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}" + } + ] + }, + { + "shortName": "UpdateReservation", + "fullName": "google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{reservation.name=projects/*/locations/*/reservations/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.storage.v1", + "directory": "google/cloud/bigquery/storage/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "bigquerystorage.googleapis.com", + "title": "BigQuery Storage API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/bigquery/storage/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.storage.v1": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1;storage": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BigQuery.Storage.V1": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BigQuery\\Storage\\V1": 4 + } + } + }, + "services": [ + { + "shortName": "BigQueryRead", + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead", + "methods": [ + { + "shortName": "CreateReadSession", + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.CreateReadSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{read_session.table=projects/*/datasets/*/tables/*}" + } + ] + }, + { + "shortName": "ReadRows", + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.ReadRows", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{read_stream=projects/*/locations/*/sessions/*/streams/*}" + } + ] + }, + { + "shortName": "SplitReadStream", + "fullName": "google.cloud.bigquery.storage.v1.BigQueryRead.SplitReadStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/sessions/*/streams/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.storage.v1beta1", + "directory": "google/cloud/bigquery/storage/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "bigquerystorage.googleapis.com", + "title": "BigQuery Storage API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/bigquery/storage/v1beta1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.storage.v1beta1": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1;storage": 5 + } + } + }, + "services": [ + { + "shortName": "BigQueryStorage", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage", + "methods": [ + { + "shortName": "BatchCreateReadSessionStreams", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.BatchCreateReadSessionStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{session.name=projects/*/sessions/*}" + } + ] + }, + { + "shortName": "CreateReadSession", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.CreateReadSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{table_reference.project_id=projects/*}" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{table_reference.dataset_id=projects/*/datasets/*}" + } + ] + }, + { + "shortName": "FinalizeStream", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.FinalizeStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{stream.name=projects/*/streams/*}" + } + ] + }, + { + "shortName": "ReadRows", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.ReadRows", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{read_position.stream.name=projects/*/streams/*}" + } + ] + }, + { + "shortName": "SplitReadStream", + "fullName": "google.cloud.bigquery.storage.v1beta1.BigQueryStorage.SplitReadStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{original_stream.name=projects/*/streams/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.bigquery.storage.v1beta2", + "directory": "google/cloud/bigquery/storage/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "bigquerystorage.googleapis.com", + "title": "BigQuery Storage API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/bigquery/storage/v1beta2", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.storage.v1beta2": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2;storage": 6 + } + } + }, + "services": [ + { + "shortName": "BigQueryRead", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead", + "methods": [ + { + "shortName": "CreateReadSession", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.CreateReadSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{read_session.table=projects/*/datasets/*/tables/*}" + } + ] + }, + { + "shortName": "ReadRows", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.ReadRows", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{read_stream=projects/*/locations/*/sessions/*/streams/*}" + } + ] + }, + { + "shortName": "SplitReadStream", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryRead.SplitReadStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/sessions/*/streams/*}" + } + ] + } + ] + }, + { + "shortName": "BigQueryWrite", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite", + "methods": [ + { + "shortName": "AppendRows", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.AppendRows", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{write_stream=projects/*/datasets/*/tables/*/streams/*}" + } + ] + }, + { + "shortName": "BatchCommitWriteStreams", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.BatchCommitWriteStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/datasets/*/tables/*}" + } + ] + }, + { + "shortName": "CreateWriteStream", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.CreateWriteStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/datasets/*/tables/*}" + } + ] + }, + { + "shortName": "FinalizeWriteStream", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FinalizeWriteStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{name=projects/*/datasets/*/tables/*/streams/*}" + } + ] + }, + { + "shortName": "FlushRows", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.FlushRows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{write_stream=projects/*/datasets/*/tables/*/streams/*}" + } + ] + }, + { + "shortName": "GetWriteStream", + "fullName": "google.cloud.bigquery.storage.v1beta2.BigQueryWrite.GetWriteStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{name=projects/*/datasets/*/tables/*/streams/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.v2": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/bigquery/v2;bigquery": 5 + } + } + }, + "services": [ + { + "shortName": "ModelService", + "fullName": "google.cloud.bigquery.v2.ModelService", + "methods": [ + { + "shortName": "DeleteModel", + "fullName": "google.cloud.bigquery.v2.ModelService.DeleteModel", + "mode": "UNARY" + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.bigquery.v2.ModelService.GetModel", + "mode": "UNARY" + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.bigquery.v2.ModelService.ListModels", + "mode": "UNARY" + }, + { + "shortName": "PatchModel", + "fullName": "google.cloud.bigquery.v2.ModelService.PatchModel", + "mode": "UNARY" + } + ] + } + ] + }, + { + "id": "google.cloud.billing.budgets.v1", + "directory": "google/cloud/billing/budgets/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "billingbudgets.googleapis.com", + "title": "Cloud Billing Budget API", + "description": "The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.", + "importDirectories": [ + "google/api", + "google/cloud/billing/budgets/v1", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.billing.budgets.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1;budgets": 2 + } + } + }, + "services": [ + { + "shortName": "BudgetService", + "fullName": "google.cloud.billing.budgets.v1.BudgetService", + "methods": [ + { + "shortName": "CreateBudget", + "fullName": "google.cloud.billing.budgets.v1.BudgetService.CreateBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=billingAccounts/*}/budgets" + } + ] + }, + { + "shortName": "DeleteBudget", + "fullName": "google.cloud.billing.budgets.v1.BudgetService.DeleteBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=billingAccounts/*/budgets/*}" + } + ] + }, + { + "shortName": "GetBudget", + "fullName": "google.cloud.billing.budgets.v1.BudgetService.GetBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/budgets/*}" + } + ] + }, + { + "shortName": "ListBudgets", + "fullName": "google.cloud.billing.budgets.v1.BudgetService.ListBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=billingAccounts/*}/budgets" + } + ] + }, + { + "shortName": "UpdateBudget", + "fullName": "google.cloud.billing.budgets.v1.BudgetService.UpdateBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{budget.name=billingAccounts/*/budgets/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.billing.budgets.v1beta1", + "directory": "google/cloud/billing/budgets/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "billingbudgets.googleapis.com", + "title": "Cloud Billing Budget API", + "description": "The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.", + "importDirectories": [ + "google/api", + "google/cloud/billing/budgets/v1beta1", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.billing.budgets.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1;budgets": 2 + } + } + }, + "services": [ + { + "shortName": "BudgetService", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService", + "methods": [ + { + "shortName": "CreateBudget", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.CreateBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=billingAccounts/*}/budgets" + } + ] + }, + { + "shortName": "DeleteBudget", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.DeleteBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=billingAccounts/*/budgets/*}" + } + ] + }, + { + "shortName": "GetBudget", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.GetBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=billingAccounts/*/budgets/*}" + } + ] + }, + { + "shortName": "ListBudgets", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.ListBudgets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=billingAccounts/*}/budgets" + } + ] + }, + { + "shortName": "UpdateBudget", + "fullName": "google.cloud.billing.budgets.v1beta1.BudgetService.UpdateBudget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{budget.name=billingAccounts/*/budgets/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.billing.v1", + "directory": "google/cloud/billing/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudbilling.googleapis.com", + "title": "Cloud Billing API", + "description": "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.billing.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/billing/v1;billing": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CLDCTLG": 1, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Billing.V1": 1, + "": 1 + } + } + }, + "services": [ + { + "shortName": "CloudBilling", + "fullName": "google.cloud.billing.v1.CloudBilling", + "methods": [ + { + "shortName": "CreateBillingAccount", + "fullName": "google.cloud.billing.v1.CloudBilling.CreateBillingAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/billingAccounts" + } + ] + }, + { + "shortName": "GetBillingAccount", + "fullName": "google.cloud.billing.v1.CloudBilling.GetBillingAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.billing.v1.CloudBilling.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{resource=billingAccounts/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetProjectBillingInfo", + "fullName": "google.cloud.billing.v1.CloudBilling.GetProjectBillingInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*}/billingInfo" + } + ] + }, + { + "shortName": "ListBillingAccounts", + "fullName": "google.cloud.billing.v1.CloudBilling.ListBillingAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/billingAccounts" + } + ] + }, + { + "shortName": "ListProjectBillingInfo", + "fullName": "google.cloud.billing.v1.CloudBilling.ListProjectBillingInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*}/projects" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.billing.v1.CloudBilling.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=billingAccounts/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.billing.v1.CloudBilling.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=billingAccounts/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateBillingAccount", + "fullName": "google.cloud.billing.v1.CloudBilling.UpdateBillingAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=billingAccounts/*}" + } + ] + }, + { + "shortName": "UpdateProjectBillingInfo", + "fullName": "google.cloud.billing.v1.CloudBilling.UpdateProjectBillingInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*}/billingInfo" + } + ] + } + ] + }, + { + "shortName": "CloudCatalog", + "fullName": "google.cloud.billing.v1.CloudCatalog", + "methods": [ + { + "shortName": "ListServices", + "fullName": "google.cloud.billing.v1.CloudCatalog.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/services" + } + ] + }, + { + "shortName": "ListSkus", + "fullName": "google.cloud.billing.v1.CloudCatalog.ListSkus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=services/*}/skus" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.binaryauthorization.v1beta1", + "directory": "google/cloud/binaryauthorization/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "binaryauthorization.googleapis.com", + "title": "Binary Authorization API", + "description": "The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters.", + "importDirectories": [ + "google/api", + "google/cloud/binaryauthorization/v1beta1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.binaryauthorization.v1beta1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1;binaryauthorization": 3 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.BinaryAuthorization.V1Beta1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\BinaryAuthorization\\V1beta1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::BinaryAuthorization::V1beta1": 3 + } + } + }, + "services": [ + { + "shortName": "BinauthzManagementServiceV1Beta1", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", + "methods": [ + { + "shortName": "CreateAttestor", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/attestors" + } + ] + }, + { + "shortName": "DeleteAttestor", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/attestors/*}" + } + ] + }, + { + "shortName": "GetAttestor", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/attestors/*}" + } + ] + }, + { + "shortName": "GetPolicy", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/policy}" + } + ] + }, + { + "shortName": "ListAttestors", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/attestors" + } + ] + }, + { + "shortName": "UpdateAttestor", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta1/{attestor.name=projects/*/attestors/*}" + } + ] + }, + { + "shortName": "UpdatePolicy", + "fullName": "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta1/{policy.name=projects/*/policy}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.channel.v1", + "directory": "google/cloud/channel/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudchannel.googleapis.com", + "title": "Cloud Channel API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/channel/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.channel.v1": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/channel/v1;channel": 9 + } + } + }, + "services": [ + { + "shortName": "CloudChannelService", + "fullName": "google.cloud.channel.v1.CloudChannelService", + "methods": [ + { + "shortName": "ActivateEntitlement", + "fullName": "google.cloud.channel.v1.CloudChannelService.ActivateEntitlement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:activate" + } + ] + }, + { + "shortName": "CancelEntitlement", + "fullName": "google.cloud.channel.v1.CloudChannelService.CancelEntitlement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:cancel" + } + ] + }, + { + "shortName": "ChangeOffer", + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeOffer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:changeOffer" + } + ] + }, + { + "shortName": "ChangeParameters", + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:changeParameters" + } + ] + }, + { + "shortName": "ChangeRenewalSettings", + "fullName": "google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:changeRenewalSettings" + } + ] + }, + { + "shortName": "CheckCloudIdentityAccountsExist", + "fullName": "google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}:checkCloudIdentityAccountsExist" + } + ] + }, + { + "shortName": "CreateChannelPartnerLink", + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}/channelPartnerLinks" + } + ] + }, + { + "shortName": "CreateCustomer", + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}/customers" + } + ] + }, + { + "shortName": "CreateEntitlement", + "fullName": "google.cloud.channel.v1.CloudChannelService.CreateEntitlement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*/customers/*}/entitlements" + } + ] + }, + { + "shortName": "DeleteCustomer", + "fullName": "google.cloud.channel.v1.CloudChannelService.DeleteCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=accounts/*/customers/*}" + } + ] + }, + { + "shortName": "GetChannelPartnerLink", + "fullName": "google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=accounts/*/channelPartnerLinks/*}" + } + ] + }, + { + "shortName": "GetCustomer", + "fullName": "google.cloud.channel.v1.CloudChannelService.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=accounts/*/customers/*}" + } + ] + }, + { + "shortName": "GetEntitlement", + "fullName": "google.cloud.channel.v1.CloudChannelService.GetEntitlement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}" + } + ] + }, + { + "shortName": "ListChannelPartnerLinks", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/channelPartnerLinks" + } + ] + }, + { + "shortName": "ListCustomers", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/customers" + } + ] + }, + { + "shortName": "ListEntitlements", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlements", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*/customers/*}/entitlements" + } + ] + }, + { + "shortName": "ListOffers", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListOffers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/offers" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/products" + } + ] + }, + { + "shortName": "ListPurchasableOffers", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableOffers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{customer=accounts/*/customers/*}:listPurchasableOffers" + } + ] + }, + { + "shortName": "ListPurchasableSkus", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListPurchasableSkus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{customer=accounts/*/customers/*}:listPurchasableSkus" + } + ] + }, + { + "shortName": "ListSkus", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=products/*}/skus" + } + ] + }, + { + "shortName": "ListSubscribers", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSubscribers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{account=accounts/*}:listSubscribers" + } + ] + }, + { + "shortName": "ListTransferableOffers", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableOffers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}:listTransferableOffers" + } + ] + }, + { + "shortName": "ListTransferableSkus", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListTransferableSkus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}:listTransferableSkus" + } + ] + }, + { + "shortName": "ProvisionCloudIdentity", + "fullName": "google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{customer=accounts/*/customers/*}:provisionCloudIdentity" + } + ] + }, + { + "shortName": "RegisterSubscriber", + "fullName": "google.cloud.channel.v1.CloudChannelService.RegisterSubscriber", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{account=accounts/*}:register" + } + ] + }, + { + "shortName": "StartPaidService", + "fullName": "google.cloud.channel.v1.CloudChannelService.StartPaidService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:startPaidService" + } + ] + }, + { + "shortName": "SuspendEntitlement", + "fullName": "google.cloud.channel.v1.CloudChannelService.SuspendEntitlement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*/customers/*/entitlements/*}:suspend" + } + ] + }, + { + "shortName": "TransferEntitlements", + "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlements", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*/customers/*}:transferEntitlements" + } + ] + }, + { + "shortName": "TransferEntitlementsToGoogle", + "fullName": "google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*/customers/*}:transferEntitlementsToGoogle" + } + ] + }, + { + "shortName": "UnregisterSubscriber", + "fullName": "google.cloud.channel.v1.CloudChannelService.UnregisterSubscriber", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{account=accounts/*}:unregister" + } + ] + }, + { + "shortName": "UpdateChannelPartnerLink", + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=accounts/*/channelPartnerLinks/*}" + } + ] + }, + { + "shortName": "UpdateCustomer", + "fullName": "google.cloud.channel.v1.CloudChannelService.UpdateCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{customer.name=accounts/*/customers/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.clouddms.v1", + "directory": "google/cloud/clouddms/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "datamigration.googleapis.com", + "title": "Database Migration API", + "description": "Manage Cloud Database Migration Service resources on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/cloud/clouddms/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.clouddms.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/clouddms/v1;clouddms": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.CloudDms.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\CloudDms\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::CloudDMS::V1": 2 + } + } + }, + "services": [ + { + "shortName": "DataMigrationService", + "fullName": "google.cloud.clouddms.v1.DataMigrationService", + "methods": [ + { + "shortName": "CreateConnectionProfile", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/connectionProfiles" + } + ] + }, + { + "shortName": "CreateMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/migrationJobs" + } + ] + }, + { + "shortName": "DeleteConnectionProfile", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/connectionProfiles/*}" + } + ] + }, + { + "shortName": "DeleteMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}" + } + ] + }, + { + "shortName": "GenerateSshScript", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateSshScript" + } + ] + }, + { + "shortName": "GetConnectionProfile", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/connectionProfiles/*}" + } + ] + }, + { + "shortName": "GetMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}" + } + ] + }, + { + "shortName": "ListConnectionProfiles", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/connectionProfiles" + } + ] + }, + { + "shortName": "ListMigrationJobs", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/migrationJobs" + } + ] + }, + { + "shortName": "PromoteMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:promote" + } + ] + }, + { + "shortName": "RestartMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.RestartMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:restart" + } + ] + }, + { + "shortName": "ResumeMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ResumeMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:resume" + } + ] + }, + { + "shortName": "StartMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:start" + } + ] + }, + { + "shortName": "StopMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.StopMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:stop" + } + ] + }, + { + "shortName": "UpdateConnectionProfile", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConnectionProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}" + } + ] + }, + { + "shortName": "UpdateMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{migration_job.name=projects/*/locations/*/migrationJobs/*}" + } + ] + }, + { + "shortName": "VerifyMigrationJob", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.VerifyMigrationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/migrationJobs/*}:verify" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.contactcenterinsights.v1", + "directory": "google/cloud/contactcenterinsights/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "contactcenterinsights.googleapis.com", + "title": "Contact Center AI Insights API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/contactcenterinsights/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.contactcenterinsights.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1;contactcenterinsights": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ContactCenterInsights.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ContactCenterInsights\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ContactCenterInsights::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "methods": [ + { + "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/*/conversations/*}/analyses" + } + ] + }, + { + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" + } + ] + }, + { + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" + } + ] + }, + { + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversations/*}" + } + ] + }, + { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" + } + ] + }, + { + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/insightsdata:export" + } + ] + }, + { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" + } + ] + }, + { + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversations/*}" + } + ] + }, + { + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}" + } + ] + }, + { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/issueModels/*}" + } + ] + }, + { + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/settings}" + } + ] + }, + { + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" + } + ] + }, + { + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/issueModels" + } + ] + }, + { + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/issueModels/*}/issues" + } + ] + }, + { + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" + } + ] + }, + { + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{conversation.name=projects/*/locations/*/conversations/*}" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=projects/*/locations/*/settings}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.datacatalog.v1", + "directory": "google/cloud/datacatalog/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "datacatalog.googleapis.com", + "title": "Google Cloud Data Catalog API", + "description": "A fully managed and highly scalable data discovery and metadata management service.", + "importDirectories": [ + "google/api", + "google/cloud/datacatalog/v1", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.datacatalog.v1": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 11 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog": 11 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 11 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DataCatalog.V1": 11 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DataCatalog\\V1": 11 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DataCatalog::V1": 11 + } + } + }, + "services": [ + { + "shortName": "DataCatalog", + "fullName": "google.cloud.datacatalog.v1.DataCatalog", + "methods": [ + { + "shortName": "CreateEntry", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries" + } + ] + }, + { + "shortName": "CreateEntryGroup", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/entryGroups" + } + ] + }, + { + "shortName": "CreateTag", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*}/tags" + } + ] + }, + { + "shortName": "CreateTagTemplate", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/tagTemplates" + } + ] + }, + { + "shortName": "CreateTagTemplateField", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/tagTemplates/*}/fields" + } + ] + }, + { + "shortName": "DeleteEntry", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "DeleteEntryGroup", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "DeleteTag", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*/tags/*}" + } + ] + }, + { + "shortName": "DeleteTagTemplate", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "DeleteTagTemplateField", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" + } + ] + }, + { + "shortName": "GetEntry", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "GetEntryGroup", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetTagTemplate", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "ListEntries", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries" + } + ] + }, + { + "shortName": "ListEntryGroups", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/entryGroups" + } + ] + }, + { + "shortName": "ListTags", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*}/tags" + } + ] + }, + { + "shortName": "LookupEntry", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.LookupEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/entries:lookup" + } + ] + }, + { + "shortName": "RenameTagTemplateField", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" + } + ] + }, + { + "shortName": "RenameTagTemplateFieldEnumValue", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" + } + ] + }, + { + "shortName": "SearchCatalog", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.SearchCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/catalog:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateEntry", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "UpdateEntryGroup", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{entry_group.name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "UpdateTag", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}" + } + ] + }, + { + "shortName": "UpdateTagTemplate", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{tag_template.name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "UpdateTagTemplateField", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" + } + ] + } + ] + }, + { + "shortName": "PolicyTagManager", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager", + "methods": [ + { + "shortName": "CreatePolicyTag", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags" + } + ] + }, + { + "shortName": "CreateTaxonomy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/taxonomies" + } + ] + }, + { + "shortName": "DeletePolicyTag", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "DeleteTaxonomy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/taxonomies/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetPolicyTag", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "GetTaxonomy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/taxonomies/*}" + } + ] + }, + { + "shortName": "ListPolicyTags", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags" + } + ] + }, + { + "shortName": "ListTaxonomies", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/taxonomies" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdatePolicyTag", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "UpdateTaxonomy", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{taxonomy.name=projects/*/locations/*/taxonomies/*}" + } + ] + } + ] + }, + { + "shortName": "PolicyTagManagerSerialization", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization", + "methods": [ + { + "shortName": "ExportTaxonomies", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/taxonomies:export" + } + ] + }, + { + "shortName": "ImportTaxonomies", + "fullName": "google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/taxonomies:import" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.datacatalog.v1beta1", + "directory": "google/cloud/datacatalog/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "datacatalog.googleapis.com", + "title": "Google Cloud Data Catalog API", + "description": "A fully managed and highly scalable data discovery and metadata management service.", + "importDirectories": [ + "google/api", + "google/cloud/datacatalog/v1beta1", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.datacatalog.v1beta1": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog": 10 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DataCatalog.V1Beta1": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DataCatalog\\V1beta1": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DataCatalog::V1beta1": 10 + } + } + }, + "services": [ + { + "shortName": "DataCatalog", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog", + "methods": [ + { + "shortName": "CreateEntry", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries" + } + ] + }, + { + "shortName": "CreateEntryGroup", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/entryGroups" + } + ] + }, + { + "shortName": "CreateTag", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags" + } + ] + }, + { + "shortName": "CreateTagTemplate", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/tagTemplates" + } + ] + }, + { + "shortName": "CreateTagTemplateField", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields" + } + ] + }, + { + "shortName": "DeleteEntry", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "DeleteEntryGroup", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "DeleteTag", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/tags/*}" + } + ] + }, + { + "shortName": "DeleteTagTemplate", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "DeleteTagTemplateField", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" + } + ] + }, + { + "shortName": "GetEntry", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "GetEntryGroup", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetTagTemplate", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "ListEntries", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries" + } + ] + }, + { + "shortName": "ListEntryGroups", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/entryGroups" + } + ] + }, + { + "shortName": "ListTags", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.ListTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags" + } + ] + }, + { + "shortName": "LookupEntry", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/entries:lookup" + } + ] + }, + { + "shortName": "RenameTagTemplateField", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" + } + ] + }, + { + "shortName": "SearchCatalog", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/catalog:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateEntry", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}" + } + ] + }, + { + "shortName": "UpdateEntryGroup", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{entry_group.name=projects/*/locations/*/entryGroups/*}" + } + ] + }, + { + "shortName": "UpdateTag", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}" + } + ] + }, + { + "shortName": "UpdateTagTemplate", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{tag_template.name=projects/*/locations/*/tagTemplates/*}" + } + ] + }, + { + "shortName": "UpdateTagTemplateField", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" + } + ] + } + ] + }, + { + "shortName": "PolicyTagManager", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager", + "methods": [ + { + "shortName": "CreatePolicyTag", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags" + } + ] + }, + { + "shortName": "CreateTaxonomy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/taxonomies" + } + ] + }, + { + "shortName": "DeletePolicyTag", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "DeleteTaxonomy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/taxonomies/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetPolicyTag", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "GetTaxonomy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/taxonomies/*}" + } + ] + }, + { + "shortName": "ListPolicyTags", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags" + } + ] + }, + { + "shortName": "ListTaxonomies", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/taxonomies" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdatePolicyTag", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}" + } + ] + }, + { + "shortName": "UpdateTaxonomy", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{taxonomy.name=projects/*/locations/*/taxonomies/*}" + } + ] + } + ] + }, + { + "shortName": "PolicyTagManagerSerialization", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization", + "methods": [ + { + "shortName": "ExportTaxonomies", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/taxonomies:export" + } + ] + }, + { + "shortName": "ImportTaxonomies", + "fullName": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/taxonomies:import" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.datalabeling.v1beta1", + "directory": "google/cloud/datalabeling/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "datalabeling.googleapis.com", + "title": "Data Labeling API", + "description": "Public API for Google Cloud AI Data Labeling Service.", + "importDirectories": [ + "google/api", + "google/cloud/datalabeling/v1beta1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.datalabeling.v1beta1": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DataLabeling.V1Beta1": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DataLabeling\\V1beta1": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DataLabeling::V1beta1": 10 + } + } + }, + "services": [ + { + "shortName": "DataLabelingService", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", + "methods": [ + { + "shortName": "CreateAnnotationSpecSet", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/annotationSpecSets" + } + ] + }, + { + "shortName": "CreateDataset", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/datasets" + } + ] + }, + { + "shortName": "CreateEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/evaluationJobs" + } + ] + }, + { + "shortName": "CreateInstruction", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstruction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/instructions" + } + ] + }, + { + "shortName": "DeleteAnnotatedDataset", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}" + } + ] + }, + { + "shortName": "DeleteAnnotationSpecSet", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/annotationSpecSets/*}" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/datasets/*}" + } + ] + }, + { + "shortName": "DeleteEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/evaluationJobs/*}" + } + ] + }, + { + "shortName": "DeleteInstruction", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstruction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/instructions/*}" + } + ] + }, + { + "shortName": "ExportData", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ExportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/datasets/*}:exportData" + } + ] + }, + { + "shortName": "GetAnnotatedDataset", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}" + } + ] + }, + { + "shortName": "GetAnnotationSpecSet", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/annotationSpecSets/*}" + } + ] + }, + { + "shortName": "GetDataItem", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/datasets/*/dataItems/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/datasets/*}" + } + ] + }, + { + "shortName": "GetEvaluation", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/datasets/*/evaluations/*}" + } + ] + }, + { + "shortName": "GetEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/evaluationJobs/*}" + } + ] + }, + { + "shortName": "GetExample", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetExample", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*/examples/*}" + } + ] + }, + { + "shortName": "GetInstruction", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstruction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/instructions/*}" + } + ] + }, + { + "shortName": "ImportData", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ImportData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/datasets/*}:importData" + } + ] + }, + { + "shortName": "LabelImage", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/datasets/*}/image:label" + } + ] + }, + { + "shortName": "LabelText", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/datasets/*}/text:label" + } + ] + }, + { + "shortName": "LabelVideo", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/datasets/*}/video:label" + } + ] + }, + { + "shortName": "ListAnnotatedDatasets", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/datasets/*}/annotatedDatasets" + } + ] + }, + { + "shortName": "ListAnnotationSpecSets", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/annotationSpecSets" + } + ] + }, + { + "shortName": "ListDataItems", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/datasets/*}/dataItems" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/datasets" + } + ] + }, + { + "shortName": "ListEvaluationJobs", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/evaluationJobs" + } + ] + }, + { + "shortName": "ListExamples", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamples", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/datasets/*/annotatedDatasets/*}/examples" + } + ] + }, + { + "shortName": "ListInstructions", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/instructions" + } + ] + }, + { + "shortName": "PauseEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/evaluationJobs/*}:pause" + } + ] + }, + { + "shortName": "ResumeEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/evaluationJobs/*}:resume" + } + ] + }, + { + "shortName": "SearchEvaluations", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/evaluations:search" + } + ] + }, + { + "shortName": "SearchExampleComparisons", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisons", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/datasets/*/evaluations/*}/exampleComparisons:search" + } + ] + }, + { + "shortName": "UpdateEvaluationJob", + "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{evaluation_job.name=projects/*/evaluationJobs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dataproc.v1", + "directory": "google/cloud/dataproc/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "dataproc.googleapis.com", + "title": "Cloud Dataproc API", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/cloud/dataproc/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dataproc.v1": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc": 6 + } + } + }, + "services": [ + { + "shortName": "AutoscalingPolicyService", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService", + "methods": [ + { + "shortName": "CreateAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.CreateAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/autoscalingPolicies" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/regions/*}/autoscalingPolicies" + } + ] + }, + { + "shortName": "DeleteAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.DeleteAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + }, + { + "shortName": "GetAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.GetAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + }, + { + "shortName": "ListAutoscalingPolicies", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.ListAutoscalingPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/autoscalingPolicies" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/regions/*}/autoscalingPolicies" + } + ] + }, + { + "shortName": "UpdateAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1.AutoscalingPolicyService.UpdateAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{policy.name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1/{policy.name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + } + ] + }, + { + "shortName": "ClusterController", + "fullName": "google.cloud.dataproc.v1.ClusterController", + "methods": [ + { + "shortName": "CreateCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/clusters" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + }, + { + "shortName": "DiagnoseCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.DiagnoseCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.cloud.dataproc.v1.ClusterController.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/regions/{region}/clusters" + } + ] + }, + { + "shortName": "StartCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.StartCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start" + } + ] + }, + { + "shortName": "StopCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.StopCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.cloud.dataproc.v1.ClusterController.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + } + ] + }, + { + "shortName": "JobController", + "fullName": "google.cloud.dataproc.v1.JobController", + "methods": [ + { + "shortName": "CancelJob", + "fullName": "google.cloud.dataproc.v1.JobController.CancelJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/jobs/{job_id}:cancel" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.dataproc.v1.JobController.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.dataproc.v1.JobController.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.dataproc.v1.JobController.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/regions/{region}/jobs" + } + ] + }, + { + "shortName": "SubmitJob", + "fullName": "google.cloud.dataproc.v1.JobController.SubmitJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/jobs:submit" + } + ] + }, + { + "shortName": "SubmitJobAsOperation", + "fullName": "google.cloud.dataproc.v1.JobController.SubmitJobAsOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/regions/{region}/jobs:submitAsOperation" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.dataproc.v1.JobController.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + } + ] + }, + { + "shortName": "WorkflowTemplateService", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", + "methods": [ + { + "shortName": "CreateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/workflowTemplates" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/regions/*}/workflowTemplates" + } + ] + }, + { + "shortName": "DeleteWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/workflowTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/regions/*/workflowTemplates/*}" + } + ] + }, + { + "shortName": "GetWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.GetWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workflowTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/regions/*/workflowTemplates/*}" + } + ] + }, + { + "shortName": "InstantiateInlineWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateInlineWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/workflowTemplates:instantiateInline" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/regions/*}/workflowTemplates:instantiateInline" + } + ] + }, + { + "shortName": "InstantiateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/workflowTemplates/*}:instantiate" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/regions/*/workflowTemplates/*}:instantiate" + } + ] + }, + { + "shortName": "ListWorkflowTemplates", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.ListWorkflowTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/workflowTemplates" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/regions/*}/workflowTemplates" + } + ] + }, + { + "shortName": "UpdateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService.UpdateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{template.name=projects/*/locations/*/workflowTemplates/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1/{template.name=projects/*/regions/*/workflowTemplates/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dataproc.v1beta2", + "directory": "google/cloud/dataproc/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "dataproc.googleapis.com", + "title": "Cloud Dataproc API", + "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/cloud/dataproc/v1beta2", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dataproc.v1beta2": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2;dataproc": 6 + } + } + }, + "services": [ + { + "shortName": "AutoscalingPolicyService", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService", + "methods": [ + { + "shortName": "CreateAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService.CreateAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/autoscalingPolicies" + }, + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/regions/*}/autoscalingPolicies" + } + ] + }, + { + "shortName": "DeleteAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService.DeleteAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + }, + { + "shortName": "GetAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService.GetAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + }, + { + "shortName": "ListAutoscalingPolicies", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService.ListAutoscalingPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*}/autoscalingPolicies" + }, + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/regions/*}/autoscalingPolicies" + } + ] + }, + { + "shortName": "UpdateAutoscalingPolicy", + "fullName": "google.cloud.dataproc.v1beta2.AutoscalingPolicyService.UpdateAutoscalingPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta2/{policy.name=projects/*/locations/*/autoscalingPolicies/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1beta2/{policy.name=projects/*/regions/*/autoscalingPolicies/*}" + } + ] + } + ] + }, + { + "shortName": "ClusterController", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController", + "methods": [ + { + "shortName": "CreateCluster", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + }, + { + "shortName": "DiagnoseCluster", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.DiagnoseCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.cloud.dataproc.v1beta2.ClusterController.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/projects/{project_id}/regions/{region}/clusters/{cluster_name}" + } + ] + } + ] + }, + { + "shortName": "JobController", + "fullName": "google.cloud.dataproc.v1beta2.JobController", + "methods": [ + { + "shortName": "CancelJob", + "fullName": "google.cloud.dataproc.v1beta2.JobController.CancelJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs/{job_id}:cancel" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.dataproc.v1beta2.JobController.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.dataproc.v1beta2.JobController.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.dataproc.v1beta2.JobController.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs" + } + ] + }, + { + "shortName": "SubmitJob", + "fullName": "google.cloud.dataproc.v1beta2.JobController.SubmitJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs:submit" + } + ] + }, + { + "shortName": "SubmitJobAsOperation", + "fullName": "google.cloud.dataproc.v1beta2.JobController.SubmitJobAsOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs:submitAsOperation" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.dataproc.v1beta2.JobController.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/projects/{project_id}/regions/{region}/jobs/{job_id}" + } + ] + } + ] + }, + { + "shortName": "WorkflowTemplateService", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService", + "methods": [ + { + "shortName": "CreateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.CreateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/regions/*}/workflowTemplates" + }, + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/workflowTemplates" + } + ] + }, + { + "shortName": "DeleteWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.DeleteWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/regions/*/workflowTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/workflowTemplates/*}" + } + ] + }, + { + "shortName": "GetWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.GetWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/regions/*/workflowTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/workflowTemplates/*}" + } + ] + }, + { + "shortName": "InstantiateInlineWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateInlineWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/workflowTemplates:instantiateInline" + }, + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/regions/*}/workflowTemplates:instantiateInline" + } + ] + }, + { + "shortName": "InstantiateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{name=projects/*/regions/*/workflowTemplates/*}:instantiate" + }, + { + "httpMethod": "POST", + "path": "/v1beta2/{name=projects/*/locations/*/workflowTemplates/*}:instantiate" + } + ] + }, + { + "shortName": "ListWorkflowTemplates", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.ListWorkflowTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/regions/*}/workflowTemplates" + }, + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*}/workflowTemplates" + } + ] + }, + { + "shortName": "UpdateWorkflowTemplate", + "fullName": "google.cloud.dataproc.v1beta2.WorkflowTemplateService.UpdateWorkflowTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta2/{template.name=projects/*/regions/*/workflowTemplates/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1beta2/{template.name=projects/*/locations/*/workflowTemplates/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dataqna.v1alpha", + "directory": "google/cloud/dataqna/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "dataqna.googleapis.com", + "title": "Data QnA API", + "description": "Data QnA is a natural language question and answer service for BigQuery data.", + "importDirectories": [ + "google/api", + "google/cloud/dataqna/v1alpha", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dataqna.v1alpha": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dataqna/v1alpha;dataqna": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DataQnA.V1Alpha": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DataQnA\\V1alpha": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DataQnA::V1alpha": 5 + } + } + }, + "services": [ + { + "shortName": "AutoSuggestionService", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService", + "methods": [ + { + "shortName": "SuggestQueries", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*}:suggestQueries" + } + ] + } + ] + }, + { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", + "methods": [ + { + "shortName": "CreateQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*}/questions" + } + ] + }, + { + "shortName": "ExecuteQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/questions/*}:execute" + } + ] + }, + { + "shortName": "GetQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/questions/*}" + } + ] + }, + { + "shortName": "GetUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/questions/*/userFeedback}" + } + ] + }, + { + "shortName": "UpdateUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{user_feedback.name=projects/*/locations/*/questions/*/userFeedback}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dialogflow.cx.v3", + "directory": "google/cloud/dialogflow/cx/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "dialogflow.googleapis.com", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "importDirectories": [ + "google/api", + "google/cloud/dialogflow/cx/v3", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dialogflow.cx.v3": 18 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 18 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3;cx": 18 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 18 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DF": 18 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Dialogflow.Cx.V3": 18 + } + } + }, + "services": [ + { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents", + "methods": [ + { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}/agents" + } + ] + }, + { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*}:export" + } + ] + }, + { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/validationResult}" + } + ] + }, + { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*}/agents" + } + ] + }, + { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*}:restore" + } + ] + }, + { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{agent.name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*}:validate" + } + ] + } + ] + }, + { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes", + "methods": [ + { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{entity_type.name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments", + "methods": [ + { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/environments" + } + ] + }, + { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*}" + } + ] + }, + { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults" + } + ] + }, + { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/environments" + } + ] + }, + { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*}:lookupEnvironmentHistory" + } + ] + }, + { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{environment=projects/*/locations/*/agents/*/environments/*}:runContinuousTest" + } + ] + }, + { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{environment.name=projects/*/locations/*/agents/*/environments/*}" + } + ] + } + ] + }, + { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments", + "methods": [ + { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/environments/*}/experiments" + } + ] + }, + { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + }, + { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + }, + { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/environments/*}/experiments" + } + ] + }, + { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}:start" + } + ] + }, + { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}:stop" + } + ] + }, + { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{experiment.name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + } + ] + }, + { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows", + "methods": [ + { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/flows" + } + ] + }, + { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*}:export" + } + ] + }, + { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/validationResult}" + } + ] + }, + { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/flows:import" + } + ] + }, + { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/flows" + } + ] + }, + { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*}:train" + } + ] + }, + { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{flow.name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate" + } + ] + } + ] + }, + { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents", + "methods": [ + { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/intents" + } + ] + }, + { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/intents/*}" + } + ] + }, + { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/intents/*}" + } + ] + }, + { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/intents" + } + ] + }, + { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{intent.name=projects/*/locations/*/agents/*/intents/*}" + } + ] + } + ] + }, + { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages", + "methods": [ + { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/pages" + } + ] + }, + { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + }, + { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + }, + { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/pages" + } + ] + }, + { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{page.name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + } + ] + }, + { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService", + "methods": [ + { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}/securitySettings" + } + ] + }, + { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/securitySettings/*}" + } + ] + }, + { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/securitySettings/*}" + } + ] + }, + { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*}/securitySettings" + } + ] + }, + { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{security_settings.name=projects/*/locations/*/securitySettings/*}" + } + ] + } + ] + }, + { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes", + "methods": [ + { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{session_entity_type.name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v3/{session_entity_type.name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions", + "methods": [ + { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent" + } + ] + }, + { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent" + }, + { + "httpMethod": "POST", + "path": "/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent" + } + ] + }, + { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent" + }, + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent" + } + ] + }, + { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases", + "methods": [ + { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchDelete" + } + ] + }, + { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchRun" + } + ] + }, + { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{agent=projects/*/locations/*/agents/*}/testCases:calculateCoverage" + } + ] + }, + { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases" + } + ] + }, + { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases:export" + } + ] + }, + { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/testCases/*}" + } + ] + }, + { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/testCases/*/results/*}" + } + ] + }, + { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases:import" + } + ] + }, + { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results" + } + ] + }, + { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/testCases" + } + ] + }, + { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/testCases/*}:run" + } + ] + }, + { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{test_case.name=projects/*/locations/*/agents/*/testCases/*}" + } + ] + } + ] + }, + { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups", + "methods": [ + { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + } + ] + }, + { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + }, + { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + }, + { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + } + ] + }, + { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + } + ] + }, + { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/versions" + } + ] + }, + { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load" + } + ] + }, + { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{version.name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + } + ] + }, + { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks", + "methods": [ + { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/webhooks" + } + ] + }, + { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + }, + { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + }, + { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/webhooks" + } + ] + }, + { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{webhook.name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dialogflow.cx.v3beta1", + "directory": "google/cloud/dialogflow/cx/v3beta1", + "version": "v3beta1", + "majorVersion": "v3", + "hostName": "dialogflow.googleapis.com", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "importDirectories": [ + "google/api", + "google/cloud/dialogflow/cx/v3beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dialogflow.cx.v3beta1": 18 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 18 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1;cx": 18 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 18 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DF": 18 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Dialogflow.Cx.V3Beta1": 18 + } + } + }, + "services": [ + { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents", + "methods": [ + { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}/agents" + } + ] + }, + { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*}:export" + } + ] + }, + { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/validationResult}" + } + ] + }, + { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*}/agents" + } + ] + }, + { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*}:restore" + } + ] + }, + { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{agent.name=projects/*/locations/*/agents/*}" + } + ] + }, + { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*}:validate" + } + ] + } + ] + }, + { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes", + "methods": [ + { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{entity_type.name=projects/*/locations/*/agents/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments", + "methods": [ + { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/environments" + } + ] + }, + { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*}" + } + ] + }, + { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults" + } + ] + }, + { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/environments" + } + ] + }, + { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*}:lookupEnvironmentHistory" + } + ] + }, + { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{environment=projects/*/locations/*/agents/*/environments/*}:runContinuousTest" + } + ] + }, + { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{environment.name=projects/*/locations/*/agents/*/environments/*}" + } + ] + } + ] + }, + { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", + "methods": [ + { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*}/experiments" + } + ] + }, + { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + }, + { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + }, + { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*}/experiments" + } + ] + }, + { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}:start" + } + ] + }, + { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/experiments/*}:stop" + } + ] + }, + { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{experiment.name=projects/*/locations/*/agents/*/environments/*/experiments/*}" + } + ] + } + ] + }, + { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows", + "methods": [ + { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/flows" + } + ] + }, + { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}:export" + } + ] + }, + { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/validationResult}" + } + ] + }, + { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/flows:import" + } + ] + }, + { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/flows" + } + ] + }, + { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}:train" + } + ] + }, + { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{flow.name=projects/*/locations/*/agents/*/flows/*}" + } + ] + }, + { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*}:validate" + } + ] + } + ] + }, + { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", + "methods": [ + { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents" + } + ] + }, + { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/intents/*}" + } + ] + }, + { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/intents/*}" + } + ] + }, + { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents" + } + ] + }, + { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{intent.name=projects/*/locations/*/agents/*/intents/*}" + } + ] + } + ] + }, + { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages", + "methods": [ + { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/pages" + } + ] + }, + { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + }, + { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + }, + { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/pages" + } + ] + }, + { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{page.name=projects/*/locations/*/agents/*/flows/*/pages/*}" + } + ] + } + ] + }, + { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", + "methods": [ + { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}/securitySettings" + } + ] + }, + { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/securitySettings/*}" + } + ] + }, + { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/securitySettings/*}" + } + ] + }, + { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*}/securitySettings" + } + ] + }, + { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{security_settings.name=projects/*/locations/*/securitySettings/*}" + } + ] + } + ] + }, + { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", + "methods": [ + { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{session_entity_type.name=projects/*/locations/*/agents/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v3beta1/{session_entity_type.name=projects/*/locations/*/agents/*/environments/*/sessions/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "methods": [ + { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent" + } + ] + }, + { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent" + } + ] + }, + { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent" + } + ] + }, + { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases", + "methods": [ + { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases:batchDelete" + } + ] + }, + { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases:batchRun" + } + ] + }, + { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{agent=projects/*/locations/*/agents/*}/testCases:calculateCoverage" + } + ] + }, + { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases" + } + ] + }, + { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases:export" + } + ] + }, + { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/testCases/*}" + } + ] + }, + { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/testCases/*/results/*}" + } + ] + }, + { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases:import" + } + ] + }, + { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/testCases/*}/results" + } + ] + }, + { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/testCases" + } + ] + }, + { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/testCases/*}:run" + } + ] + }, + { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{test_case.name=projects/*/locations/*/agents/*/testCases/*}" + } + ] + } + ] + }, + { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", + "methods": [ + { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + } + ] + }, + { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + }, + { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + }, + { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + } + ] + }, + { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + } + ] + } + ] + }, + { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/versions" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/versions" + } + ] + }, + { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/versions/*}:load" + } + ] + }, + { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{version.name=projects/*/locations/*/agents/*/flows/*/versions/*}" + } + ] + } + ] + }, + { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks", + "methods": [ + { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/webhooks" + } + ] + }, + { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + }, + { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + }, + { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/webhooks" + } + ] + }, + { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{webhook.name=projects/*/locations/*/agents/*/webhooks/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dialogflow.v2", + "directory": "google/cloud/dialogflow/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "dialogflow.googleapis.com", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "importDirectories": [ + "google/api", + "google/cloud/dialogflow/v2", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dialogflow.v2": 21 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 21 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dialogflow/v2;dialogflow": 21 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 21 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DF": 21 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Dialogflow.V2": 21 + } + } + }, + "services": [ + { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents", + "methods": [ + { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*}/agent" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/agent:export" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/agent:export" + } + ] + }, + { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/agent" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/agent/validationResult" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/agent/validationResult" + } + ] + }, + { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/agent:import" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/agent:import" + } + ] + }, + { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/agent:restore" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/agent:restore" + } + ] + }, + { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/agent:search" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/agent:search" + } + ] + }, + { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{agent.parent=projects/*}/agent" + }, + { + "httpMethod": "POST", + "path": "/v2/{agent.parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/agent:train" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/agent:train" + } + ] + } + ] + }, + { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords", + "methods": [ + { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/answerRecords" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/answerRecords" + } + ] + }, + { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{answer_record.name=projects/*/answerRecords/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{answer_record.name=projects/*/locations/*/answerRecords/*}" + } + ] + } + ] + }, + { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts", + "methods": [ + { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + }, + { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + }, + { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{context.name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{context.name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{context.name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{context.name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + } + ] + }, + { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles", + "methods": [ + { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/conversationProfiles" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/conversationProfiles" + } + ] + }, + { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/conversationProfiles/*}" + } + ] + }, + { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/conversationProfiles/*}" + } + ] + }, + { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/conversationProfiles" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/conversationProfiles" + } + ] + }, + { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{conversation_profile.name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{conversation_profile.name=projects/*/locations/*/conversationProfiles/*}" + } + ] + } + ] + }, + { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations", + "methods": [ + { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/conversations/*}:complete" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/conversations/*}:complete" + } + ] + }, + { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/conversations/*}" + } + ] + }, + { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/conversations/*}/messages" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/conversations/*}/messages" + } + ] + } + ] + }, + { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents", + "methods": [ + { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/knowledgeBases/*}/documents" + } + ] + }, + { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + }, + { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + }, + { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/knowledgeBases/*}/documents" + } + ] + }, + { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/knowledgeBases/*/documents/*}:reload" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{document.name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{document.name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + } + ] + }, + { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes", + "methods": [ + { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchDelete" + } + ] + }, + { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/entityTypes:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/entityTypes:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchUpdate" + } + ] + }, + { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/entityTypes:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/entityTypes:batchUpdate" + } + ] + }, + { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/entityTypes" + } + ] + }, + { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + }, + { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + }, + { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent}/entityTypes" + } + ] + }, + { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{entity_type.name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{entity_type.name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments", + "methods": [ + { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/environments" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/environments" + } + ] + }, + { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/environments/*}/history" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*}/history" + } + ] + }, + { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent}/environments" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent}/environments" + } + ] + }, + { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{environment.name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{environment.name=projects/*/locations/*/agent/environments/*}" + } + ] + } + ] + }, + { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2.Fulfillments", + "methods": [ + { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/fulfillment}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/fulfillment}" + } + ] + }, + { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{fulfillment.name=projects/*/agent/fulfillment}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{fulfillment.name=projects/*/locations/*/agent/fulfillment}" + } + ] + } + ] + }, + { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents", + "methods": [ + { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/intents:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/intents:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/intents:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/intents:batchUpdate" + } + ] + }, + { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/intents" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/intents" + } + ] + }, + { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/intents/*}" + } + ] + }, + { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/intents/*}" + } + ] + }, + { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/environments/*}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*}/intents" + } + ] + }, + { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{intent.name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{intent.name=projects/*/locations/*/agent/intents/*}" + } + ] + } + ] + }, + { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases", + "methods": [ + { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/knowledgeBases" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/knowledgeBases" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/knowledgeBases" + } + ] + }, + { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/knowledgeBases/*}" + } + ] + }, + { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/knowledgeBases/*}" + } + ] + }, + { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/knowledgeBases" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/knowledgeBases" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent}/knowledgeBases" + } + ] + }, + { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{knowledge_base.name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{knowledge_base.name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{knowledge_base.name=projects/*/agent/knowledgeBases/*}" + } + ] + } + ] + }, + { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants", + "methods": [ + { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{participant=projects/*/conversations/*/participants/*}:analyzeContent" + }, + { + "httpMethod": "POST", + "path": "/v2/{participant=projects/*/locations/*/conversations/*/participants/*}:analyzeContent" + } + ] + }, + { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/conversations/*}/participants" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/conversations/*}/participants" + } + ] + }, + { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/conversations/*/participants/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/conversations/*/participants/*}" + } + ] + }, + { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/conversations/*}/participants" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/conversations/*}/participants" + } + ] + }, + { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestArticles" + } + ] + }, + { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers" + } + ] + }, + { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{participant.name=projects/*/conversations/*/participants/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{participant.name=projects/*/locations/*/conversations/*/participants/*}" + } + ] + } + ] + }, + { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes", + "methods": [ + { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{session_entity_type.name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{session_entity_type.name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{session_entity_type.name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2.Sessions", + "methods": [ + { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{session=projects/*/agent/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2/{session=projects/*/agent/environments/*/users/*/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2/{session=projects/*/locations/*/agent/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2/{session=projects/*/locations/*/agent/environments/*/users/*/sessions/*}:detectIntent" + } + ] + }, + { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/agent}/versions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/agent}/versions" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/agent/versions/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/agent/versions/*}" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/agent}/versions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/agent}/versions" + } + ] + }, + { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{version.name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{version.name=projects/*/locations/*/agent/versions/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.dialogflow.v2beta1", + "directory": "google/cloud/dialogflow/v2beta1", + "version": "v2beta1", + "majorVersion": "v2", + "hostName": "dialogflow.googleapis.com", + "title": "Dialogflow API", + "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", + "importDirectories": [ + "google/api", + "google/cloud/dialogflow/v2beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.dialogflow.v2beta1": 21 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 21 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow": 21 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 21 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DF": 21 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Dialogflow.V2beta1": 21 + } + } + }, + "services": [ + { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents", + "methods": [ + { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*}/agent" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/agent:export" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent:export" + } + ] + }, + { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/agent" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/agent/validationResult" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent/validationResult" + } + ] + }, + { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/agent:import" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent:import" + } + ] + }, + { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/agent:restore" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent:restore" + } + ] + }, + { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/agent:search" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent:search" + } + ] + }, + { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{agent.parent=projects/*}/agent" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{agent.parent=projects/*/locations/*}/agent" + } + ] + }, + { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/agent:train" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/agent:train" + } + ] + } + ] + }, + { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords", + "methods": [ + { + "shortName": "GetAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/answerRecords/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/answerRecords/*}" + } + ] + }, + { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/answerRecords" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/answerRecords" + } + ] + }, + { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{answer_record.name=projects/*/answerRecords/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{answer_record.name=projects/*/locations/*/answerRecords/*}" + } + ] + } + ] + }, + { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts", + "methods": [ + { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + }, + { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + }, + { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/environments/*/users/*/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/sessions/*}/contexts" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/contexts" + } + ] + }, + { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{context.name=projects/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{context.name=projects/*/agent/environments/*/users/*/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{context.name=projects/*/locations/*/agent/sessions/*/contexts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{context.name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/contexts/*}" + } + ] + } + ] + }, + { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles", + "methods": [ + { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/conversationProfiles" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/conversationProfiles" + } + ] + }, + { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/conversationProfiles/*}" + } + ] + }, + { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/conversationProfiles/*}" + } + ] + }, + { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/conversationProfiles" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/conversationProfiles" + } + ] + }, + { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{conversation_profile.name=projects/*/conversationProfiles/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{conversation_profile.name=projects/*/locations/*/conversationProfiles/*}" + } + ] + } + ] + }, + { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations", + "methods": [ + { + "shortName": "BatchCreateMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*}/messages:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*}/messages:batchCreate" + } + ] + }, + { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{name=projects/*/conversations/*}:complete" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{name=projects/*/locations/*/conversations/*}:complete" + } + ] + }, + { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/conversations/*}" + } + ] + }, + { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/conversations" + } + ] + }, + { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/conversations/*}/messages" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*}/messages" + } + ] + } + ] + }, + { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents", + "methods": [ + { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents" + } + ] + }, + { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + }, + { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + }, + { + "shortName": "ImportDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents:import" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/knowledgeBases/*}/documents:import" + } + ] + }, + { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/knowledgeBases/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/knowledgeBases/*}/documents" + } + ] + }, + { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}:reload" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{document.name=projects/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{document.name=projects/*/agent/knowledgeBases/*/documents/*}" + } + ] + } + ] + }, + { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes", + "methods": [ + { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchDelete" + } + ] + }, + { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/entityTypes:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/entityTypes:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/entityTypes/*}/entities:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/entityTypes/*}/entities:batchUpdate" + } + ] + }, + { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/entityTypes:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/entityTypes:batchUpdate" + } + ] + }, + { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/entityTypes" + } + ] + }, + { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + }, + { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + }, + { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/entityTypes" + } + ] + }, + { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{entity_type.name=projects/*/agent/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{entity_type.name=projects/*/locations/*/agent/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments", + "methods": [ + { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/environments" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/environments" + } + ] + }, + { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*}" + } + ] + }, + { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/environments/*}/history" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*}/history" + } + ] + }, + { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent}/environments" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/environments" + } + ] + }, + { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{environment.name=projects/*/agent/environments/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{environment.name=projects/*/locations/*/agent/environments/*}" + } + ] + } + ] + }, + { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments", + "methods": [ + { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/fulfillment}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/fulfillment}" + } + ] + }, + { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{fulfillment.name=projects/*/agent/fulfillment}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{fulfillment.name=projects/*/locations/*/agent/fulfillment}" + } + ] + } + ] + }, + { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents", + "methods": [ + { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/intents:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/intents:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/intents:batchUpdate" + } + ] + }, + { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/intents" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/intents" + } + ] + }, + { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/intents/*}" + } + ] + }, + { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/intents/*}" + } + ] + }, + { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/environments/*}/intents" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*}/intents" + } + ] + }, + { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{intent.name=projects/*/agent/intents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{intent.name=projects/*/locations/*/agent/intents/*}" + } + ] + } + ] + }, + { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases", + "methods": [ + { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/knowledgeBases" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/knowledgeBases" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/knowledgeBases" + } + ] + }, + { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/knowledgeBases/*}" + } + ] + }, + { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/knowledgeBases/*}" + } + ] + }, + { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*}/knowledgeBases" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*}/knowledgeBases" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent}/knowledgeBases" + } + ] + }, + { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{knowledge_base.name=projects/*/knowledgeBases/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{knowledge_base.name=projects/*/locations/*/knowledgeBases/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{knowledge_base.name=projects/*/agent/knowledgeBases/*}" + } + ] + } + ] + }, + { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants", + "methods": [ + { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{participant=projects/*/conversations/*/participants/*}:analyzeContent" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{participant=projects/*/locations/*/conversations/*/participants/*}:analyzeContent" + } + ] + }, + { + "shortName": "CompileSuggestion", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:compile" + } + ] + }, + { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*}/participants" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*}/participants" + } + ] + }, + { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/conversations/*/participants/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/conversations/*/participants/*}" + } + ] + }, + { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/conversations/*}/participants" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*}/participants" + } + ] + }, + { + "shortName": "ListSuggestions", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions" + } + ] + }, + { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestArticles" + } + ] + }, + { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestFaqAnswers" + } + ] + }, + { + "shortName": "SuggestSmartReplies", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestSmartReplies" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestSmartReplies" + } + ] + }, + { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{participant.name=projects/*/conversations/*/participants/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{participant.name=projects/*/locations/*/conversations/*/participants/*}" + } + ] + } + ] + }, + { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes", + "methods": [ + { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + }, + { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent/environments/*/users/*/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/sessions/*}/entityTypes" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent/environments/*/users/*/sessions/*}/entityTypes" + } + ] + }, + { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{session_entity_type.name=projects/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{session_entity_type.name=projects/*/locations/*/agent/sessions/*/entityTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{session_entity_type.name=projects/*/locations/*/agent/environments/*/users/*/sessions/*/entityTypes/*}" + } + ] + } + ] + }, + { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions", + "methods": [ + { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{session=projects/*/agent/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{session=projects/*/agent/environments/*/users/*/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{session=projects/*/locations/*/agent/sessions/*}:detectIntent" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{session=projects/*/locations/*/agent/environments/*/users/*/sessions/*}:detectIntent" + } + ] + }, + { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions", + "methods": [ + { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/agent}/versions" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/versions" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2beta1/{name=projects/*/locations/*/agent/versions/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{name=projects/*/locations/*/agent/versions/*}" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/agent}/versions" + }, + { + "httpMethod": "GET", + "path": "/v2beta1/{parent=projects/*/locations/*/agent}/versions" + } + ] + }, + { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta1/{version.name=projects/*/agent/versions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2beta1/{version.name=projects/*/locations/*/agent/versions/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.documentai.v1": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DocumentAI.V1": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DocumentAI\\V1": 4 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DocumentAI::V1": 4 + } + } + }, + "services": [ + { + "shortName": "DocumentProcessorService", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "methods": [ + { + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*}:batchProcess" + } + ] + }, + { + "shortName": "ProcessDocument", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*}:process" + } + ] + }, + { + "shortName": "ReviewDocument", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.documentai.v1beta2": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2;documentai": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "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", + "methods": [ + { + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/documents:batchProcess" + }, + { + "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" + }, + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*}/documents:process" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.documentai.v1beta3": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DocumentAI.V1Beta3": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DocumentAI\\V1beta3": 4 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DocumentAI::V1beta3": 4 + } + } + }, + "services": [ + { + "shortName": "DocumentProcessorService", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "methods": [ + { + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess" + } + ] + }, + { + "shortName": "ProcessDocument", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:process" + } + ] + }, + { + "shortName": "ReviewDocument", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.domains.v1alpha2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2;domains": 1 + } + } + }, + "services": [ + { + "shortName": "Domains", + "fullName": "google.cloud.domains.v1alpha2.Domains", + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" + } + ] + }, + { + "shortName": "ConfigureManagementSettings", + "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureManagementSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" + } + ] + }, + { + "shortName": "DeleteRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.DeleteRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" + } + ] + }, + { + "shortName": "ExportRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.ExportRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}:export" + } + ] + }, + { + "shortName": "GetRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.GetRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" + } + ] + }, + { + "shortName": "ListRegistrations", + "fullName": "google.cloud.domains.v1alpha2.Domains.ListRegistrations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations" + } + ] + }, + { + "shortName": "RegisterDomain", + "fullName": "google.cloud.domains.v1alpha2.Domains.RegisterDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations:register" + } + ] + }, + { + "shortName": "ResetAuthorizationCode", + "fullName": "google.cloud.domains.v1alpha2.Domains.ResetAuthorizationCode", + "mode": "UNARY", + "bindings": [ + { + "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" + } + ] + }, + { + "shortName": "RetrieveRegisterParameters", + "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveRegisterParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" + } + ] + }, + { + "shortName": "SearchDomains", + "fullName": "google.cloud.domains.v1alpha2.Domains.SearchDomains", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:searchDomains" + } + ] + }, + { + "shortName": "UpdateRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.UpdateRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha2/{registration.name=projects/*/locations/*/registrations/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.domains.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/domains/v1beta1;domains": 1 + } + } + }, + "services": [ + { + "shortName": "Domains", + "fullName": "google.cloud.domains.v1beta1.Domains", + "methods": [ + { + "shortName": "ConfigureContactSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureContactSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" + } + ] + }, + { + "shortName": "ConfigureDnsSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureDnsSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" + } + ] + }, + { + "shortName": "ConfigureManagementSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureManagementSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" + } + ] + }, + { + "shortName": "DeleteRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.DeleteRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" + } + ] + }, + { + "shortName": "ExportRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.ExportRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}:export" + } + ] + }, + { + "shortName": "GetRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.GetRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" + } + ] + }, + { + "shortName": "ListRegistrations", + "fullName": "google.cloud.domains.v1beta1.Domains.ListRegistrations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/registrations" + } + ] + }, + { + "shortName": "RegisterDomain", + "fullName": "google.cloud.domains.v1beta1.Domains.RegisterDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/registrations:register" + } + ] + }, + { + "shortName": "ResetAuthorizationCode", + "fullName": "google.cloud.domains.v1beta1.Domains.ResetAuthorizationCode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" + } + ] + }, + { + "shortName": "RetrieveAuthorizationCode", + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveAuthorizationCode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" + } + ] + }, + { + "shortName": "RetrieveRegisterParameters", + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveRegisterParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" + } + ] + }, + { + "shortName": "SearchDomains", + "fullName": "google.cloud.domains.v1beta1.Domains.SearchDomains", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{location=projects/*/locations/*}/registrations:searchDomains" + } + ] + }, + { + "shortName": "UpdateRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.UpdateRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{registration.name=projects/*/locations/*/registrations/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.essentialcontacts.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1;essentialcontacts": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "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", + "methods": [ + { + "shortName": "ComputeContacts", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts", + "mode": "UNARY", + "bindings": [ + { + "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": "CreateContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/contacts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*}/contacts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/contacts" + } + ] + }, + { + "shortName": "DeleteContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/contacts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/contacts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/contacts/*}" + } + ] + }, + { + "shortName": "GetContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/contacts/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/contacts/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/contacts/*}" + } + ] + }, + { + "shortName": "ListContacts", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/contacts" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/contacts" + }, + { + "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" + } + ] + }, + { + "shortName": "UpdateContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{contact.name=projects/*/contacts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{contact.name=folders/*/contacts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{contact.name=organizations/*/contacts/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.functions.v1", + "directory": "google/cloud/functions/v1", + "version": "v1", + "majorVersion": "v1", + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.functions.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/functions/v1;functions": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCF": 1, + "": 1 + } + } + }, + "services": [ + { + "shortName": "CloudFunctionsService", + "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "methods": [ + { + "shortName": "CallFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CallFunction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/functions/*}:call" + } + ] + }, + { + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CreateFunction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{location=projects/*/locations/*}/functions" + } + ] + }, + { + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.DeleteFunction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/functions/*}" + } + ] + }, + { + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" + } + ] + }, + { + "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/*/locations/*/functions/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.ListFunctions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/functions" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "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/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.gaming.v1", + "directory": "google/cloud/gaming/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "gameservices.googleapis.com", + "title": "Game Services API", + "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "importDirectories": [ + "google/api", + "google/cloud/gaming/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.gaming.v1": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming": 9 + } + } + }, + "services": [ + { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1.GameServerClustersService", + "methods": [ + { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + } + ] + }, + { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + }, + { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + }, + { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + } + ] + }, + { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" + } + ] + }, + { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" + } + ] + }, + { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" + } + ] + }, + { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + } + ] + }, + { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService", + "methods": [ + { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + } + ] + }, + { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + } + ] + }, + { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + } + ] + }, + { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + } + ] + } + ] + }, + { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService", + "methods": [ + { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/gameServerDeployments" + } + ] + }, + { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" + } + ] + }, + { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" + } + ] + }, + { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/gameServerDeployments" + } + ] + }, + { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" + } + ] + }, + { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" + } + ] + } + ] + }, + { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1.RealmsService", + "methods": [ + { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/realms" + } + ] + }, + { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/realms/*}" + } + ] + }, + { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/realms/*}" + } + ] + }, + { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/realms" + } + ] + }, + { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" + } + ] + }, + { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{realm.name=projects/*/locations/*/realms/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.gaming.v1beta", + "directory": "google/cloud/gaming/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "gameservices.googleapis.com", + "title": "Game Services API", + "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "importDirectories": [ + "google/api", + "google/cloud/gaming/v1beta", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.gaming.v1beta": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming": 9 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Gaming\\V1beta": 8, + "": 1 + } + } + }, + "services": [ + { + "shortName": "GameServerClustersService", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService", + "methods": [ + { + "shortName": "CreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + } + ] + }, + { + "shortName": "DeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + }, + { + "shortName": "GetGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + }, + { + "shortName": "ListGameServerClusters", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + } + ] + }, + { + "shortName": "PreviewCreateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" + } + ] + }, + { + "shortName": "PreviewDeleteGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" + } + ] + }, + { + "shortName": "PreviewUpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" + } + ] + }, + { + "shortName": "UpdateGameServerCluster", + "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" + } + ] + } + ] + }, + { + "shortName": "GameServerConfigsService", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService", + "methods": [ + { + "shortName": "CreateGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + } + ] + }, + { + "shortName": "DeleteGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + } + ] + }, + { + "shortName": "GetGameServerConfig", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + } + ] + }, + { + "shortName": "ListGameServerConfigs", + "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + } + ] + } + ] + }, + { + "shortName": "GameServerDeploymentsService", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService", + "methods": [ + { + "shortName": "CreateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" + } + ] + }, + { + "shortName": "DeleteGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "FetchDeploymentState", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" + } + ] + }, + { + "shortName": "GetGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "GetGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" + } + ] + }, + { + "shortName": "ListGameServerDeployments", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" + } + ] + }, + { + "shortName": "PreviewGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" + } + ] + }, + { + "shortName": "UpdateGameServerDeployment", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" + } + ] + }, + { + "shortName": "UpdateGameServerDeploymentRollout", + "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" + } + ] + } + ] + }, + { + "shortName": "RealmsService", + "fullName": "google.cloud.gaming.v1beta.RealmsService", + "methods": [ + { + "shortName": "CreateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/realms" + } + ] + }, + { + "shortName": "DeleteRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/realms/*}" + } + ] + }, + { + "shortName": "GetRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/realms/*}" + } + ] + }, + { + "shortName": "ListRealms", + "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/realms" + } + ] + }, + { + "shortName": "PreviewRealmUpdate", + "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" + } + ] + }, + { + "shortName": "UpdateRealm", + "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{realm.name=projects/*/locations/*/realms/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.gkehub.v1alpha2", + "directory": "google/cloud/gkehub/v1alpha2", + "version": "v1alpha2", + "majorVersion": "v1", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.gkehub.v1alpha2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2;gkehub": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeHub.V1Alpha2": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeHub\\V1alpha2": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeHub::V1alpha2": 1 + } + } + }, + "services": [ + { + "shortName": "GkeHub", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub", + "methods": [ + { + "shortName": "CreateMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.CreateMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{parent=projects/*/locations/*}/memberships" + } + ] + }, + { + "shortName": "DeleteMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.DeleteMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" + } + ] + }, + { + "shortName": "GenerateConnectManifest", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GenerateConnectManifest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" + } + ] + }, + { + "shortName": "GetMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GetMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" + } + ] + }, + { + "shortName": "InitializeHub", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.InitializeHub", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha2/{project=projects/*/locations/global/memberships}:initializeHub" + } + ] + }, + { + "shortName": "ListMemberships", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.ListMemberships", + "mode": "UNARY", + "bindings": [ + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.gkehub.v1beta1", + "directory": "google/cloud/gkehub/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.gkehub.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1;gkehub": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeHub.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeHub\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeHub::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "GkeHubMembershipService", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "methods": [ + { + "shortName": "CreateMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" + } + ] + }, + { + "shortName": "DeleteMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + } + ] + }, + { + "shortName": "GenerateConnectManifest", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" + } + ] + }, + { + "shortName": "GenerateExclusivityManifest", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest" + } + ] + }, + { + "shortName": "GetMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + } + ] + }, + { + "shortName": "ListMemberships", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMemberships", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" + } + ] + }, + { + "shortName": "UpdateMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + } + ] + }, + { + "shortName": "ValidateExclusivity", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivity", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.gsuiteaddons.v1", + "directory": "google/cloud/gsuiteaddons/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "gsuiteaddons.googleapis.com", + "title": "Google Workspace Add-ons API", + "description": "", + "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/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.gsuiteaddons.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1;gsuiteaddons": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GSuiteAddOns.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GSuiteAddOns\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GSuiteAddOns::V1": 1 + } + } + }, + "services": [ + { + "shortName": "GSuiteAddOns", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "methods": [ + { + "shortName": "CreateDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/deployments" + } + ] + }, + { + "shortName": "DeleteDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/deployments/*}" + } + ] + }, + { + "shortName": "GetAuthorization", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/authorization}" + } + ] + }, + { + "shortName": "GetDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/deployments/*}" + } + ] + }, + { + "shortName": "GetInstallStatus", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/deployments/*/installStatus}" + } + ] + }, + { + "shortName": "InstallDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/deployments/*}:install" + } + ] + }, + { + "shortName": "ListDeployments", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/deployments" + } + ] + }, + { + "shortName": "ReplaceDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{deployment.name=projects/*/deployments/*}" + } + ] + }, + { + "shortName": "UninstallDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/deployments/*}:uninstall" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.iot.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/iot/v1;iot": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + } + }, + "services": [ + { + "shortName": "DeviceManager", + "fullName": "google.cloud.iot.v1.DeviceManager", + "methods": [ + { + "shortName": "BindDeviceToGateway", + "fullName": "google.cloud.iot.v1.DeviceManager.BindDeviceToGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*}:bindDeviceToGateway" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}:bindDeviceToGateway" + } + ] + }, + { + "shortName": "CreateDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.CreateDevice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*}/devices" + } + ] + }, + { + "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": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" + } + ] + }, + { + "shortName": "DeleteDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/registries/*}" + } + ] + }, + { + "shortName": "GetDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.GetDevice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}" + } + ] + }, + { + "shortName": "GetDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.GetDeviceRegistry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*}" + } + ] + }, + { + "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": "/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}/configVersions" + } + ] + }, + { + "shortName": "ListDeviceRegistries", + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceRegistries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/registries" + } + ] + }, + { + "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": "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": "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": "/v1/{device.name=projects/*/locations/*/registries/*/devices/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{device.name=projects/*/locations/*/registries/*/groups/*/devices/*}" + } + ] + }, + { + "shortName": "UpdateDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{device_registry.name=projects/*/locations/*/registries/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.kms.v1", + "directory": "google/cloud/kms/v1", + "version": "v1", + "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.", + "importDirectories": [ + "google/api", + "google/cloud/kms/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.kms.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/kms/v1;kms": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Kms.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Kms\\V1": 2 + } + } + }, + "services": [ + { + "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" + } + ] + }, + { + "shortName": "AsymmetricSign", + "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricSign", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign" + } + ] + }, + { + "shortName": "CreateCryptoKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" + } + ] + }, + { + "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" + } + ] + }, + { + "shortName": "Encrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.Encrypt", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}:encrypt" + } + ] + }, + { + "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/*}" + } + ] + }, + { + "shortName": "GetImportJob", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetImportJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/importJobs/*}" + } + ] + }, + { + "shortName": "GetKeyRing", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetKeyRing", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/keyRings/*}" + } + ] + }, + { + "shortName": "GetPublicKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetPublicKey", + "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" + } + ] + }, + { + "shortName": "ListCryptoKeys", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" + } + ] + }, + { + "shortName": "ListCryptoKeyVersions", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" + } + ] + }, + { + "shortName": "ListImportJobs", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListImportJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" + } + ] + }, + { + "shortName": "ListKeyRings", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListKeyRings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/keyRings" + } + ] + }, + { + "shortName": "RestoreCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore" + } + ] + }, + { + "shortName": "UpdateCryptoKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey", + "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" + } + ] + }, + { + "shortName": "UpdateCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.language.v1", + "directory": "google/cloud/language/v1", + "version": "v1", + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.language.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/language/v1;language": 1 + } + } + }, + "services": [ + { + "shortName": "LanguageService", + "fullName": "google.cloud.language.v1.LanguageService", + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/documents:analyzeEntitySentiment" + } + ] + }, + { + "shortName": "AnalyzeSentiment", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSentiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/documents:analyzeSentiment" + } + ] + }, + { + "shortName": "AnalyzeSyntax", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSyntax", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/documents:analyzeSyntax" + } + ] + }, + { + "shortName": "AnnotateText", + "fullName": "google.cloud.language.v1.LanguageService.AnnotateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/documents:annotateText" + } + ] + }, + { + "shortName": "ClassifyText", + "fullName": "google.cloud.language.v1.LanguageService.ClassifyText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/documents:classifyText" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.language.v1beta2", + "directory": "google/cloud/language/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "language.googleapis.com", + "title": "Google Cloud Natural Language API", + "description": "Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.language.v1beta2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/language/v1beta2;language": 1 + } + } + }, + "services": [ + { + "shortName": "LanguageService", + "fullName": "google.cloud.language.v1beta2.LanguageService", + "methods": [ + { + "shortName": "AnalyzeEntities", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeEntities" + } + ] + }, + { + "shortName": "AnalyzeEntitySentiment", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeEntitySentiment" + } + ] + }, + { + "shortName": "AnalyzeSentiment", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeSentiment" + } + ] + }, + { + "shortName": "AnalyzeSyntax", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeSyntax" + } + ] + }, + { + "shortName": "AnnotateText", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnnotateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:annotateText" + } + ] + }, + { + "shortName": "ClassifyText", + "fullName": "google.cloud.language.v1beta2.LanguageService.ClassifyText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/documents:classifyText" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.lifesciences.v2beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta;lifesciences": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CLSW": 1 + } + } + }, + "services": [ + { + "shortName": "WorkflowsServiceV2Beta", + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", + "methods": [ + { + "shortName": "RunPipeline", + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*}/pipelines:run" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.managedidentities.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/managedidentities/v1;managedidentities": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ManagedIdentities.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ManagedIdentities\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ManagedIdentities::V1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCMI": 1, + "": 1 + } + } + }, + "services": [ + { + "shortName": "ManagedIdentitiesService", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/global}/domains" + } + ] + }, + { + "shortName": "DeleteDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DeleteDomain", + "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" + } + ] + }, + { + "shortName": "GetDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.GetDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/global/domains/*}" + } + ] + }, + { + "shortName": "ListDomains", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ListDomains", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/global}/domains" + } + ] + }, + { + "shortName": "ReconfigureTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ReconfigureTrust", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" + } + ] + }, + { + "shortName": "ResetAdminPassword", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ResetAdminPassword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" + } + ] + }, + { + "shortName": "UpdateDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.UpdateDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{domain.name=projects/*/locations/global/domains/*}" + } + ] + }, + { + "shortName": "ValidateTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ValidateTrust", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:validateTrust" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.managedidentities.v1beta1", + "directory": "google/cloud/managedidentities/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).", + "importDirectories": [ + "google/api", + "google/cloud/managedidentities/v1beta1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.managedidentities.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1;managedidentities": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ManagedIdentities.V1Beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ManagedIdentities\\V1beta1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ManagedIdentities::V1beta1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCMI": 1, + "": 1 + } + } + }, + "services": [ + { + "shortName": "ManagedIdentitiesService", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService", + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/global}/domains" + } + ] + }, + { + "shortName": "DeleteDomain", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DeleteDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}" + } + ] + }, + { + "shortName": "DetachTrust", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DetachTrust", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:detachTrust" + } + ] + }, + { + "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/{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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.mediatranslation.v1alpha1": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1;mediatranslation": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + } + }, + "services": [ + { + "shortName": "SpeechTranslationService", + "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService", + "methods": [ + { + "shortName": "StreamingTranslateSpeech", + "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService.StreamingTranslateSpeech", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.mediatranslation.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1;mediatranslation": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "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" + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.memcache.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/memcache/v1;memcache": 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/{name=projects/*/locations/*/instances/*}:applyParameters" + } + ] + }, + { + "shortName": "CreateInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.memcache.v1.CloudMemcache.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpdateParameters", + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:updateParameters" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.memcache.v1beta2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2;memcache": 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": "/v1beta2/{name=projects/*/locations/*/instances/*}:applyParameters" + } + ] + }, + { + "shortName": "ApplySoftwareUpdate", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{instance=projects/*/locations/*/instances/*}:applySoftwareUpdate" + } + ] + }, + { + "shortName": "CreateInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/{resource.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpdateParameters", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}:updateParameters" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.metastore.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/metastore/v1;metastore": 1 + } + } + }, + "services": [ + { + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "methods": [ + { + "shortName": "CreateMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" + } + ] + }, + { + "shortName": "CreateService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ExportMetadata", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ExportMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{service=projects/*/locations/*/services/*}:exportMetadata" + } + ] + }, + { + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/services/*/metadataImports/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "shortName": "UpdateMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{service.name=projects/*/locations/*/services/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.metastore.v1alpha", + "directory": "google/cloud/metastore/v1alpha", + "version": "v1alpha", + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.metastore.v1alpha": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha;metastore": 1 + } + } + }, + "services": [ + { + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "methods": [ + { + "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", + "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/*}" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService", + "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/*}" + } + ] + }, + { + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/services/*/metadataImports/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ListBackups", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/backups" + } + ] + }, + { + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/metadataImports" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.metastore.v1beta", + "directory": "google/cloud/metastore/v1beta", + "version": "v1beta", + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.metastore.v1beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/metastore/v1beta;metastore": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Metastore\\V1beta": 1 + } + } + }, + "services": [ + { + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "methods": [ + { + "shortName": "CreateBackup", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" + } + ] + }, + { + "shortName": "CreateMetadataImport", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" + } + ] + }, + { + "shortName": "CreateService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "shortName": "DeleteBackup", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/services/*/backups/*}" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ExportMetadata", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata", + "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/*}" + } + ] + }, + { + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ListBackups", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListBackups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" + } + ] + }, + { + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "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": "/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/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.networkconnectivity.v1alpha1", + "directory": "google/cloud/networkconnectivity/v1alpha1", + "version": "v1alpha1", + "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.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.networkconnectivity.v1alpha1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1;networkconnectivity": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.NetworkConnectivity.V1Alpha1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\NetworkConnectivity\\V1alpha1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::NetworkConnectivity::V1alpha1": 2 + } + } + }, + "services": [ + { + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "methods": [ + { + "shortName": "CreateHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateHub", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" + } + ] + }, + { + "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": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" + } + ] + }, + { + "shortName": "DeleteSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteSpoke", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" + } + ] + }, + { + "shortName": "GetHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetHub", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" + } + ] + }, + { + "shortName": "GetSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" + } + ] + }, + { + "shortName": "ListHubs", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" + } + ] + }, + { + "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": "/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/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.notebooks.v1beta1", + "directory": "google/cloud/notebooks/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "notebooks.googleapis.com", + "title": "Notebooks API", + "description": "AI Platform Notebooks API is used to manage notebook resources in Google Cloud.", + "importDirectories": [ + "google/api", + "google/cloud/notebooks/v1beta1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.notebooks.v1beta1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Notebooks.V1Beta1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Notebooks\\V1beta1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Notebooks::V1beta1": 3 + } + } + }, + "services": [ + { + "shortName": "NotebookService", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "methods": [ + { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + } + ] + }, + { + "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": "/v1beta1/{name=projects/*/locations/*/environments/*}" + } + ] + }, + { + "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": "/v1beta1/{name=projects/*/locations/*/environments/*}" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "IsInstanceUpgradeable", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.IsInstanceUpgradeable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable" + } + ] + }, + { + "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": "/v1beta1/{parent=projects/*/locations/*}/instances:register" + } + ] + }, + { + "shortName": "ReportInstanceInfo", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ReportInstanceInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:report" + } + ] + }, + { + "shortName": "ResetInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ResetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:reset" + } + ] + }, + { + "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": "/v1beta1/{name=projects/*/locations/*/instances/*}:start" + } + ] + }, + { + "shortName": "StopInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StopInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:stop" + } + ] + }, + { + "shortName": "UpgradeInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstance", + "mode": "UNARY", + "bindings": [ + { + "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" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.orgpolicy.v2", + "directory": "google/cloud/orgpolicy/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "orgpolicy.googleapis.com", + "title": "Organization Policy API", + "description": "The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.", + "importDirectories": [ + "google/api", + "google/cloud/orgpolicy/v2", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.orgpolicy.v2": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/orgpolicy/v2;orgpolicy": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OrgPolicy.V2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OrgPolicy\\V2": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OrgPolicy::V2": 2 + } + } + }, + "services": [ + { + "shortName": "OrgPolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "methods": [ + { + "shortName": "CreatePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/policies" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*}/policies" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/policies" + } + ] + }, + { + "shortName": "DeletePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/policies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/policies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/policies/*}" + } + ] + }, + { + "shortName": "GetEffectivePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/policies/*}:getEffectivePolicy" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/policies/*}:getEffectivePolicy" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/policies/*}:getEffectivePolicy" + } + ] + }, + { + "shortName": "GetPolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/policies/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/policies/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/policies/*}" + } + ] + }, + { + "shortName": "ListConstraints", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/constraints" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/constraints" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/constraints" + } + ] + }, + { + "shortName": "ListPolicies", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/policies" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/policies" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/policies" + } + ] + }, + { + "shortName": "UpdatePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{policy.name=projects/*/policies/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{policy.name=folders/*/policies/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{policy.name=organizations/*/policies/*}" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.agentendpoint.v1": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5, + "": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1;agentendpoint": 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" + } + ] + } + ] + }, + { + "id": "google.cloud.osconfig.agentendpoint.v1beta", + "directory": "google/cloud/osconfig/agentendpoint/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "Cloud 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": { + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.agentendpoint.v1beta": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1beta;agentendpoint": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1beta": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2, + "": 2 + } + } + }, + "services": [ + { + "shortName": "AgentEndpointService", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", + "methods": [ + { + "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" + } + ] + } + ] + }, + { + "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/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1, + "": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/osconfig/v1;osconfig": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsConfig.V1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsConfig::V1": 5 + } + } + }, + "services": [ + { + "shortName": "OsConfigService", + "fullName": "google.cloud.osconfig.v1.OsConfigService", + "methods": [ + { + "shortName": "CancelPatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.CancelPatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/patchJobs/*}:cancel" + } + ] + }, + { + "shortName": "CreatePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.CreatePatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/patchDeployments" + } + ] + }, + { + "shortName": "DeletePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.DeletePatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/patchDeployments/*}" + } + ] + }, + { + "shortName": "ExecutePatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ExecutePatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/patchJobs:execute" + } + ] + }, + { + "shortName": "GetPatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/patchDeployments/*}" + } + ] + }, + { + "shortName": "GetPatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/patchJobs/*}" + } + ] + }, + { + "shortName": "ListPatchDeployments", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchDeployments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/patchDeployments" + } + ] + }, + { + "shortName": "ListPatchJobInstanceDetails", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetails", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/patchJobs/*}/instanceDetails" + } + ] + }, + { + "shortName": "ListPatchJobs", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/patchJobs" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1alpha": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/osconfig/v1alpha;osconfig": 8 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsConfig.V1Alpha": 8 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1alpha": 8 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsConfig::V1alpha": 8 + } + } + }, + "services": [ + { + "shortName": "OsConfigZonalService", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", + "methods": [ + { + "shortName": "CreateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" + } + ] + }, + { + "shortName": "DeleteOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" + } + ] + }, + { + "shortName": "GetInstanceOSPoliciesCompliance", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesCompliance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instanceOSPoliciesCompliances/*}" + } + ] + }, + { + "shortName": "GetInventory", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instances/*/inventory}" + } + ] + }, + { + "shortName": "GetOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" + } + ] + }, + { + "shortName": "GetVulnerabilityReport", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instances/*/vulnerabilityReport}" + } + ] + }, + { + "shortName": "ListInstanceOSPoliciesCompliances", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/instanceOSPoliciesCompliances" + } + ] + }, + { + "shortName": "ListInventories", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/inventories" + } + ] + }, + { + "shortName": "ListOSPolicyAssignmentRevisions", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions" + } + ] + }, + { + "shortName": "ListOSPolicyAssignments", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" + } + ] + }, + { + "shortName": "ListVulnerabilityReports", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports" + } + ] + }, + { + "shortName": "UpdateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.osconfig.v1beta", + "directory": "google/cloud/osconfig/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "Cloud 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": { + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1beta": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/osconfig/v1beta;osconfig": 4 + } + } + }, + "services": [ + { + "shortName": "OsConfigService", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "methods": [ + { + "shortName": "CancelPatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CancelPatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/patchJobs/*}:cancel" + } + ] + }, + { + "shortName": "CreateGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreateGuestPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*}/guestPolicies" + } + ] + }, + { + "shortName": "CreatePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreatePatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*}/patchDeployments" + } + ] + }, + { + "shortName": "DeleteGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeleteGuestPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/guestPolicies/*}" + } + ] + }, + { + "shortName": "DeletePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeletePatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/patchDeployments/*}" + } + ] + }, + { + "shortName": "ExecutePatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ExecutePatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*}/patchJobs:execute" + } + ] + }, + { + "shortName": "GetGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetGuestPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/guestPolicies/*}" + } + ] + }, + { + "shortName": "GetPatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/patchDeployments/*}" + } + ] + }, + { + "shortName": "GetPatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/patchJobs/*}" + } + ] + }, + { + "shortName": "ListGuestPolicies", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListGuestPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/guestPolicies" + } + ] + }, + { + "shortName": "ListPatchDeployments", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchDeployments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/patchDeployments" + } + ] + }, + { + "shortName": "ListPatchJobInstanceDetails", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobInstanceDetails", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/patchJobs/*}/instanceDetails" + } + ] + }, + { + "shortName": "ListPatchJobs", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/patchJobs" + } + ] + }, + { + "shortName": "LookupEffectiveGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.LookupEffectiveGuestPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{instance=projects/*/zones/*/instances/*}:lookupEffectiveGuestPolicy" + } + ] + }, + { + "shortName": "UpdateGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdateGuestPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{guest_policy.name=projects/*/guestPolicies/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.oslogin.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/oslogin/v1;oslogin": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "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": "DeletePosixAccount", + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=users/*/projects/*}" + } + ] + }, + { + "shortName": "DeleteSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=users/*/sshPublicKeys/*}" + } + ] + }, + { + "shortName": "GetLoginProfile", + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetLoginProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=users/*}/loginProfile" + } + ] + }, + { + "shortName": "GetSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=users/*/sshPublicKeys/*}" + } + ] + }, + { + "shortName": "ImportSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=users/*}:importSshPublicKey" + } + ] + }, + { + "shortName": "UpdateSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=users/*/sshPublicKeys/*}" + } + ] + } + ] + } + ] + }, + { + "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/oslogin/common", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.oslogin.v1beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/oslogin/v1beta;oslogin": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsLogin.V1Beta": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsLogin\\V1beta": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsLogin::V1beta": 1 + } + } + }, + "services": [ + { + "shortName": "OsLoginService", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "methods": [ + { + "shortName": "DeletePosixAccount", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=users/*/projects/*}" + } + ] + }, + { + "shortName": "DeleteSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=users/*/sshPublicKeys/*}" + } + ] + }, + { + "shortName": "GetLoginProfile", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=users/*}/loginProfile" + } + ] + }, + { + "shortName": "GetSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=users/*/sshPublicKeys/*}" + } + ] + }, + { + "shortName": "ImportSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey", + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.phishingprotection.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1;phishingprotection": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCPP": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PhishingProtection.V1Beta1": 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" + } + ] + } + ] + } + ] + }, + { + "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": { + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/policytroubleshooter/v1;policytroubleshooter": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PolicyTroubleshooter.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PolicyTroubleshooter\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PolicyTroubleshooter::V1": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.policytroubleshooter.v1": 1, + "": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1, + "": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + } + }, + "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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.privatecatalog.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/privatecatalog/v1beta1;privatecatalog": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "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" + } + ] + } + ] + } + ] + }, + { + "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/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.pubsublite.proto": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/pubsublite/v1;pubsublite": 6 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 4, + "": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PubSubLite.V1": 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": "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": "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": "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": "ListSubscriptions", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{parent=projects/*/locations/*}/subscriptions" + } + ] + }, + { + "shortName": "ListTopics", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{parent=projects/*/locations/*}/topics" + } + ] + }, + { + "shortName": "ListTopicSubscriptions", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/topics/*}/subscriptions" + } + ] + }, + { + "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" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.recaptchaenterprise.v1", + "directory": "google/cloud/recaptchaenterprise/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "recaptchaenterprise.googleapis.com", + "title": "reCAPTCHA Enterprise API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.recaptchaenterprise.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1;recaptchaenterprise": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCRE": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecaptchaEnterprise.V1": 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": "CreateKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "DeleteKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "GetKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "ListKeys", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "UpdateKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{key.name=projects/*/keys/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.recaptchaenterprise.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1;recaptchaenterprise": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCRE": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecaptchaEnterprise.V1Beta1": 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" + } + ] + }, + { + "shortName": "CreateKey", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "DeleteKey", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.DeleteKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "GetKey", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.GetKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "ListKeys", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.ListKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "UpdateKey", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.UpdateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{key.name=projects/*/keys/*}" + } + ] + } + ] + } + ] + }, + { + "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", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.recommendationengine.v1beta1": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine": 9 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RECAI": 9 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecommendationEngine.V1Beta1": 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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.logging.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1;logging": 1 + } + } + } + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.logging.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1beta1;logging": 1 + } + } + } + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CREC": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Recommender.V1": 3 + } + } + }, + "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": "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": "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": "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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.v1beta1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CREC": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Recommender.V1Beta1": 3 + } + } + }, + "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": "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": "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": "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" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.redis.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/redis/v1;redis": 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": "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": "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" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.redis.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/redis/v1beta1;redis": 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": "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": "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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.resourcemanager.v2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/resourcemanager/v2;resourcemanager": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.resourcemanager.v3": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager": 6 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ResourceManager.V3": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ResourceManager\\V3": 6 + } + } + }, + "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": "ListTagBindings", + "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListTagBindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagBindings" + } + ] + } + ] + }, + { + "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": "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": "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.resourcesettings.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/resourcesettings/v1;resourcesettings": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 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/*}" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/retail/v2;retail": 10 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2": 10 + } + } + }, + "services": [ + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2.CatalogService", + "methods": [ + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2.ProductService", + "methods": [ + { + "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": "UpdateProduct", + "fullName": "google.cloud.retail.v2.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.retail.v2alpha", + "directory": "google/cloud/retail/v2alpha", + "version": "v2alpha", + "majorVersion": "v2", + "hostName": "retail.googleapis.com", + "title": "Cloud Retail", + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2alpha": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/retail/v2alpha;retail": 10 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2Alpha": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2alpha": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2alpha": 10 + } + } + }, + "services": [ + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "methods": [ + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2alpha.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2alpha.ProductService", + "methods": [ + { + "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": "UpdateProduct", + "fullName": "google.cloud.retail.v2alpha.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.retail.v2beta", + "directory": "google/cloud/retail/v2beta", + "version": "v2beta", + "majorVersion": "v2", + "hostName": "retail.googleapis.com", + "title": "Cloud Retail", + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2beta": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail": 10 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2Beta": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2beta": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2beta": 10 + } + } + }, + "services": [ + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2beta.CatalogService", + "methods": [ + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2beta.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2beta.ProductService", + "methods": [ + { + "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": "UpdateProduct", + "fullName": "google.cloud.retail.v2beta.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.scheduler.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "SCHEDULER": 1, + "": 2 + } + } + }, + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.scheduler.v1beta1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "SCHEDULER": 1, + "": 2 + } + } + }, + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.secretmanager.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/secretmanager/v1;secretmanager": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GSM": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecretManager.V1": 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": "ListSecrets", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecrets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/secrets/*}/versions" + } + ] + }, + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.secretmanager.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1;secretmanager": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GSM": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecretManager.V1Beta1": 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": "ListSecrets", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/secrets/*}/versions" + } + ] + }, + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.security.privateca.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/security/privateca/v1;privateca": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Security.PrivateCA.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Security\\PrivateCA\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Security::PrivateCA::V1": 1, + "Google::Cloud::Security::PrivateCA::v1": 1 + } + } + }, + "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": "ListCertificates", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificates" + } + ] + }, + { + "shortName": "ListCertificateTemplates", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/certificateTemplates" + } + ] + }, + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.security.privateca.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1;privateca": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "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": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates" + } + ] + }, + { + "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": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore" + } + ] + }, + { + "shortName": "RevokeCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke" + } + ] + }, + { + "shortName": "ScheduleDeleteCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete" + } + ] + }, + { + "shortName": "UpdateCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.settings.v1beta1": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings": 6 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 6 + } + }, + "csharp_namespace": { + "valueCounts": { + "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", + "methods": [ + { + "shortName": "BatchCalculateEffectiveSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchCalculateEffectiveSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{parent=organizations/*}/effectiveSettings:batchCalculate" + } + ] + }, + { + "shortName": "BatchGetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchGetSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{parent=organizations/*}/settings:batchGet" + } + ] + }, + { + "shortName": "CalculateEffectiveComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveComponentSettings", + "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": "GET", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/effectiveSettings}:calculate" + } + ] + }, + { + "shortName": "CalculateEffectiveSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveSettings", + "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" + } + ] + }, + { + "shortName": "GetComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetComponentSettings", + "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}" + }, + { + "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": "GetServiceAccount", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=organizations/*/serviceAccount}" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetSettings", + "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}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}" + } + ] + }, + { + "shortName": "ListComponents", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListComponents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{parent=organizations/*}/components" + } + ] + }, + { + "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": "/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": "ResetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetSettings", + "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" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}:reset" + } + ] + }, + { + "shortName": "UpdateComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateComponentSettings", + "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}" + } + ] + }, + { + "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}" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.v1": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 11 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter": 11 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecurityCenter.V1": 11 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecurityCenter\\V1": 11 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecurityCenter::V1": 11 + } + } + }, + "services": [ + { + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "methods": [ + { + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/sources/*}/findings" + } + ] + }, + { + "shortName": "CreateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/notificationConfigs" + } + ] + }, + { + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/sources" + } + ] + }, + { + "shortName": "DeleteNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=organizations/*/sources/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "GetOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/organizationSettings}" + } + ] + }, + { + "shortName": "GetSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/sources/*}" + } + ] + }, + { + "shortName": "GroupAssets", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupAssets", + "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" + } + ] + }, + { + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupFindings", + "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" + } + ] + }, + { + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/assets" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListFindings", + "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" + } + ] + }, + { + "shortName": "ListNotificationConfigs", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/notificationConfigs" + } + ] + }, + { + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/sources" + } + ] + }, + { + "shortName": "RunAssetDiscovery", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscovery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/assets:runDiscovery" + } + ] + }, + { + "shortName": "SetFindingState", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetFindingState", + "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" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=organizations/*/sources/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=organizations/*/sources/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateFinding", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateFinding", + "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/*}" + } + ] + }, + { + "shortName": "UpdateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{notification_config.name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "UpdateOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{organization_settings.name=organizations/*/organizationSettings}" + } + ] + }, + { + "shortName": "UpdateSecurityMarks", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarks", + "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}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}" + } + ] + }, + { + "shortName": "UpdateSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{source.name=organizations/*/sources/*}" + } + ] + } + ] + } + ] + }, + { + "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.", + "importDirectories": [ + "google/api", + "google/cloud/securitycenter/v1beta1", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.v1beta1": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter": 7 + } + } + }, + "services": [ + { + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "methods": [ + { + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" + } + ] + }, + { + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*}/sources" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/organizationSettings}" + } + ] + }, + { + "shortName": "GetSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/sources/*}" + } + ] + }, + { + "shortName": "GroupAssets", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*}/assets:group" + } + ] + }, + { + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupFindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings:group" + } + ] + }, + { + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*}/assets" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListFindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" + } + ] + }, + { + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*}/sources" + } + ] + }, + { + "shortName": "RunAssetDiscovery", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.RunAssetDiscovery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*}/assets:runDiscovery" + } + ] + }, + { + "shortName": "SetFindingState", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetFindingState", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/sources/*/findings/*}:setState" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "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": "UpdateSecurityMarks", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSecurityMarks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" + } + ] + }, + { + "shortName": "UpdateSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{source.name=organizations/*/sources/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.securitycenter.v1p1beta1", + "directory": "google/cloud/securitycenter/v1p1beta1", + "version": "v1p1beta1", + "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/v1p1beta1", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.v1p1beta1": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 11 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter": 11 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecurityCenter.V1P1Beta1": 11 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecurityCenter\\V1p1beta1": 11 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecurityCenter::V1p1beta1": 10, + "Google::Cloud::SecurityCenter::V1p1Beta1": 1 + } + } + }, + "services": [ + { + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "methods": [ + { + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings" + } + ] + }, + { + "shortName": "CreateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" + } + ] + }, + { + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=organizations/*}/sources" + } + ] + }, + { + "shortName": "DeleteNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p1beta1/{name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{resource=organizations/*/sources/*}:getIamPolicy" + } + ] + }, + { + "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": "/v1p1beta1/{parent=organizations/*}/assets:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=folders/*}/assets:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=projects/*}/assets:group" + } + ] + }, + { + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindings", + "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" + } + ] + }, + { + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=organizations/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=folders/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*}/assets" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindings", + "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" + } + ] + }, + { + "shortName": "ListNotificationConfigs", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" + } + ] + }, + { + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSources", + "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" + } + ] + }, + { + "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.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{resource=organizations/*/sources/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissions", + "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}" + } + ] + }, + { + "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/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.servicedirectory.v1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory": 5 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" + } + ] + } + ] + }, + { + "shortName": "RegistrationService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "methods": [ + { + "shortName": "CreateEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + } + ] + }, + { + "shortName": "CreateNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/namespaces" + } + ] + }, + { + "shortName": "CreateService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" + } + ] + }, + { + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "DeleteNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + }, + { + "shortName": "GetEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + } + ] + }, + { + "shortName": "ListNamespaces", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/namespaces" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "UpdateNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{namespace.name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.servicedirectory.v1beta1", + "directory": "google/cloud/servicedirectory/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "servicedirectory.googleapis.com", + "title": "Service Directory API", + "description": "Allows the registration and lookup of services.", + "importDirectories": [ + "google/api", + "google/cloud/servicedirectory/v1beta1", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.servicedirectory.v1beta1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory": 5 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" + } + ] + } + ] + }, + { + "shortName": "RegistrationService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", + "methods": [ + { + "shortName": "CreateEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + } + ] + }, + { + "shortName": "CreateNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" + } + ] + }, + { + "shortName": "CreateService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" + } + ] + }, + { + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "DeleteNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + }, + { + "shortName": "GetEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + } + ] + }, + { + "shortName": "ListNamespaces", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "UpdateNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{namespace.name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{service.name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.shell.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/shell/v1;shell": 1 + } + } + }, + "services": [ + { + "shortName": "CloudShellService", + "fullName": "google.cloud.shell.v1.CloudShellService", + "methods": [ + { + "shortName": "AddPublicKey", + "fullName": "google.cloud.shell.v1.CloudShellService.AddPublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{environment=users/*/environments/*}:addPublicKey" + } + ] + }, + { + "shortName": "AuthorizeEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=users/*/environments/*}:authorize" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.GetEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=users/*/environments/*}" + } + ] + }, + { + "shortName": "RemovePublicKey", + "fullName": "google.cloud.shell.v1.CloudShellService.RemovePublicKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{environment=users/*/environments/*}:removePublicKey" + } + ] + }, + { + "shortName": "StartEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.StartEnvironment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=users/*/environments/*}:start" + } + ] + } + ] + } + ] + }, + { + "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/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.speech.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/speech/v1;speech": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCS": 1 + } + } + }, + "services": [ + { + "shortName": "Speech", + "fullName": "google.cloud.speech.v1.Speech", + "methods": [ + { + "shortName": "LongRunningRecognize", + "fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/speech:longrunningrecognize" + } + ] + }, + { + "shortName": "Recognize", + "fullName": "google.cloud.speech.v1.Speech.Recognize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/speech:recognize" + } + ] + }, + { + "shortName": "StreamingRecognize", + "fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.speech.v1p1beta1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1;speech": 3 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 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": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" + } + ] + }, + { + "shortName": "CreatePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreatePhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" + } + ] + }, + { + "shortName": "DeleteCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeleteCustomClass", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" + } + ] + }, + { + "shortName": "DeletePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeletePhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" + } + ] + }, + { + "shortName": "GetCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetCustomClass", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" + } + ] + }, + { + "shortName": "GetPhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetPhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" + } + ] + }, + { + "shortName": "ListCustomClasses", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListCustomClasses", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" + } + ] + }, + { + "shortName": "ListPhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListPhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" + } + ] + }, + { + "shortName": "UpdateCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdateCustomClass", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{custom_class.name=projects/*/locations/*/customClasses/*}" + } + ] + }, + { + "shortName": "UpdatePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdatePhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "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": "POST", + "path": "/v1p1beta1/speech:longrunningrecognize" + } + ] + }, + { + "shortName": "Recognize", + "fullName": "google.cloud.speech.v1p1beta1.Speech.Recognize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/speech:recognize" + } + ] + }, + { + "shortName": "StreamingRecognize", + "fullName": "google.cloud.speech.v1p1beta1.Speech.StreamingRecognize", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ] + }, + { + "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", + "importDirectories": [ + "google/api", + "google/cloud/sql/v1beta4", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.sql.v1beta4": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/sql/v1beta4;sql": 4 + } + } + }, + "services": [ + { + "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": "SqlDatabasesService", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService", + "methods": [ + { + "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": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" + } + ] + }, + { + "shortName": "Patch", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Patch", + "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": [ + { + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" + } + ] + } + ] + }, + { + "shortName": "SqlFlagsService", + "fullName": "google.cloud.sql.v1beta4.SqlFlagsService", + "methods": [ + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlFlagsService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/flags" + } + ] + } + ] + }, + { + "shortName": "SqlInstancesService", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService", + "methods": [ + { + "shortName": "AddServerCa", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.AddServerCa", + "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": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/clone" + } + ] + }, + { + "shortName": "CreateEphemeral", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.CreateEphemeral", + "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": [ + { + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + } + ] + }, + { + "shortName": "DemoteMaster", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.DemoteMaster", + "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": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/export" + } + ] + }, + { + "shortName": "Failover", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Failover", + "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": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + } + ] + }, + { + "shortName": "Import", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Import", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/import" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances" + } + ] + }, + { + "shortName": "ListServerCas", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ListServerCas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas" + } + ] + }, + { + "shortName": "Patch", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Patch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + } + ] + }, + { + "shortName": "PromoteReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.PromoteReplica", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica" + } + ] + }, + { + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RescheduleMaintenance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance" + } + ] + }, + { + "shortName": "ResetSslConfig", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ResetSslConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig" + } + ] + }, + { + "shortName": "Restart", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Restart", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restart" + } + ] + }, + { + "shortName": "RestoreBackup", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RestoreBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup" + } + ] + }, + { + "shortName": "RotateServerCa", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RotateServerCa", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa" + } + ] + }, + { + "shortName": "StartExternalSync", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartExternalSync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync" + } + ] + }, + { + "shortName": "StartReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartReplica", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startReplica" + } + ] + }, + { + "shortName": "StopReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StopReplica", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica" + } + ] + }, + { + "shortName": "TruncateLog", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.TruncateLog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog" + } + ] + }, + { + "shortName": "Update", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Update", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + } + ] + }, + { + "shortName": "VerifyExternalSyncSettings", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.VerifyExternalSyncSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings" + } + ] + } + ] + }, + { + "shortName": "SqlOperationsService", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService", + "methods": [ + { + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/operations/{operation}" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/operations" + } + ] + } + ] + }, + { + "shortName": "SqlSslCertsService", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + } + ] + }, + { + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" + } + ] + } + ] + }, + { + "shortName": "SqlTiersService", + "fullName": "google.cloud.sql.v1beta4.SqlTiersService", + "methods": [ + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlTiersService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/tiers" + } + ] + } + ] + }, + { + "shortName": "SqlUsersService", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + } + ] + }, + { + "shortName": "Update", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Update", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.talent.v4": 12 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 12 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/talent/v4;talent": 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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/companies" + } + ] + }, + { + "shortName": "DeleteCompany", + "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4/{name=projects/*/tenants/*/companies/*}" + } + ] + }, + { + "shortName": "GetCompany", + "fullName": "google.cloud.talent.v4.CompanyService.GetCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{name=projects/*/tenants/*/companies/*}" + } + ] + }, + { + "shortName": "ListCompanies", + "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{parent=projects/*/tenants/*}/companies" + } + ] + }, + { + "shortName": "UpdateCompany", + "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4/{company.name=projects/*/tenants/*/companies/*}" + } + ] + } + ] + }, + { + "shortName": "Completion", + "fullName": "google.cloud.talent.v4.Completion", + "methods": [ + { + "shortName": "CompleteQuery", + "fullName": "google.cloud.talent.v4.Completion.CompleteQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{tenant=projects/*/tenants/*}:completeQuery" + } + ] + } + ] + }, + { + "shortName": "EventService", + "fullName": "google.cloud.talent.v4.EventService", + "methods": [ + { + "shortName": "CreateClientEvent", + "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/clientEvents" + } + ] + } + ] + }, + { + "shortName": "JobService", + "fullName": "google.cloud.talent.v4.JobService", + "methods": [ + { + "shortName": "BatchCreateJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchUpdate" + } + ] + }, + { + "shortName": "CreateJob", + "fullName": "google.cloud.talent.v4.JobService.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.talent.v4.JobService.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4/{name=projects/*/tenants/*/jobs/*}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.talent.v4.JobService.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{name=projects/*/tenants/*/jobs/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.talent.v4.JobService.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{parent=projects/*/tenants/*}/jobs" + } + ] + }, + { + "shortName": "SearchJobs", + "fullName": "google.cloud.talent.v4.JobService.SearchJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:search" + } + ] + }, + { + "shortName": "SearchJobsForAlert", + "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:searchForAlert" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.talent.v4.JobService.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4/{job.name=projects/*/tenants/*/jobs/*}" + } + ] + } + ] + }, + { + "shortName": "TenantService", + "fullName": "google.cloud.talent.v4.TenantService", + "methods": [ + { + "shortName": "CreateTenant", + "fullName": "google.cloud.talent.v4.TenantService.CreateTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4/{parent=projects/*}/tenants" + } + ] + }, + { + "shortName": "DeleteTenant", + "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4/{name=projects/*/tenants/*}" + } + ] + }, + { + "shortName": "GetTenant", + "fullName": "google.cloud.talent.v4.TenantService.GetTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{name=projects/*/tenants/*}" + } + ] + }, + { + "shortName": "ListTenants", + "fullName": "google.cloud.talent.v4.TenantService.ListTenants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4/{parent=projects/*}/tenants" + } + ] + }, + { + "shortName": "UpdateTenant", + "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4/{tenant.name=projects/*/tenants/*}" + } + ] + } + ] + } + ] + }, + { + "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/talent/v4beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.talent.v4beta1": 17 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 17 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent": 17 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CTS": 17 + } + } + }, + "services": [ + { + "shortName": "ApplicationService", + "fullName": "google.cloud.talent.v4beta1.ApplicationService", + "methods": [ + { + "shortName": "CreateApplication", + "fullName": "google.cloud.talent.v4beta1.ApplicationService.CreateApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*/profiles/*}/applications" + } + ] + }, + { + "shortName": "DeleteApplication", + "fullName": "google.cloud.talent.v4beta1.ApplicationService.DeleteApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/profiles/*/applications/*}" + } + ] + }, + { + "shortName": "GetApplication", + "fullName": "google.cloud.talent.v4beta1.ApplicationService.GetApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*/profiles/*/applications/*}" + } + ] + }, + { + "shortName": "ListApplications", + "fullName": "google.cloud.talent.v4beta1.ApplicationService.ListApplications", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*/tenants/*/profiles/*}/applications" + } + ] + }, + { + "shortName": "UpdateApplication", + "fullName": "google.cloud.talent.v4beta1.ApplicationService.UpdateApplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4beta1/{application.name=projects/*/tenants/*/profiles/*/applications/*}" + } + ] + } + ] + }, + { + "shortName": "CompanyService", + "fullName": "google.cloud.talent.v4beta1.CompanyService", + "methods": [ + { + "shortName": "CreateCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.CreateCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/companies" + } + ] + }, + { + "shortName": "DeleteCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.DeleteCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/companies/*}" + } + ] + }, + { + "shortName": "GetCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.GetCompany", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/companies/*}" + } + ] + }, + { + "shortName": "ListCompanies", + "fullName": "google.cloud.talent.v4beta1.CompanyService.ListCompanies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/companies" + } + ] + }, + { + "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", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.BatchDeleteJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.BatchUpdateJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:batchUpdate" + } + ] + }, + { + "shortName": "CreateJob", + "fullName": "google.cloud.talent.v4beta1.JobService.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.talent.v4beta1.JobService.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/jobs/*}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.talent.v4beta1.JobService.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/jobs/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/jobs" + } + ] + }, + { + "shortName": "SearchJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:search" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:search" + } + ] + }, + { + "shortName": "SearchJobsForAlert", + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobsForAlert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:searchForAlert" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:searchForAlert" + } + ] + }, + { + "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": "ProfileService", + "fullName": "google.cloud.talent.v4beta1.ProfileService", + "methods": [ + { + "shortName": "CreateProfile", + "fullName": "google.cloud.talent.v4beta1.ProfileService.CreateProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/profiles" + } + ] + }, + { + "shortName": "DeleteProfile", + "fullName": "google.cloud.talent.v4beta1.ProfileService.DeleteProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/profiles/*}" + } + ] + }, + { + "shortName": "GetProfile", + "fullName": "google.cloud.talent.v4beta1.ProfileService.GetProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*/profiles/*}" + } + ] + }, + { + "shortName": "ListProfiles", + "fullName": "google.cloud.talent.v4beta1.ProfileService.ListProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*/tenants/*}/profiles" + } + ] + }, + { + "shortName": "SearchProfiles", + "fullName": "google.cloud.talent.v4beta1.ProfileService.SearchProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}:search" + } + ] + }, + { + "shortName": "UpdateProfile", + "fullName": "google.cloud.talent.v4beta1.ProfileService.UpdateProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4beta1/{profile.name=projects/*/tenants/*/profiles/*}" + } + ] + } + ] + }, + { + "shortName": "TenantService", + "fullName": "google.cloud.talent.v4beta1.TenantService", + "methods": [ + { + "shortName": "CreateTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.CreateTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/tenants" + } + ] + }, + { + "shortName": "DeleteTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.DeleteTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*}" + } + ] + }, + { + "shortName": "GetTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.GetTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*}" + } + ] + }, + { + "shortName": "ListTenants", + "fullName": "google.cloud.talent.v4beta1.TenantService.ListTenants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/tenants" + } + ] + }, + { + "shortName": "UpdateTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.UpdateTenant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v4beta1/{tenant.name=projects/*/tenants/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.tasks.v2": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks": 4 + } + }, + "objc_class_prefix": { + "valueCounts": { + "TASKS": 1, + "": 3 + } + } + }, + "services": [ + { + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2.CloudTasks", + "methods": [ + { + "shortName": "CreateQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "CreateTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "DeleteQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "shortName": "DeleteTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "shortName": "ListQueues", + "fullName": "google.cloud.tasks.v2.CloudTasks.ListQueues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2.CloudTasks.ListTasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.PauseQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*}:pause" + } + ] + }, + { + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.PurgeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*}:purge" + } + ] + }, + { + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.ResumeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*}:resume" + } + ] + }, + { + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.RunTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.tasks.v2.CloudTasks.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2.CloudTasks.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.UpdateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{queue.name=projects/*/locations/*/queues/*}" + } + ] + } + ] + } + ] + }, + { + "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" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.tasks.v2beta2": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "TASKS": 1, + "": 4 + } + } + }, + "services": [ + { + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "methods": [ + { + "shortName": "AcknowledgeTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge" + } + ] + }, + { + "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": "/v2beta2/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "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": "/v2beta2/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "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": "/v2beta2/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListTasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PauseQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:pause" + } + ] + }, + { + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:purge" + } + ] + }, + { + "shortName": "RenewLease", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RenewLease", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease" + } + ] + }, + { + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:resume" + } + ] + }, + { + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RunTask", + "mode": "UNARY", + "bindings": [ + { + "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": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta2/{queue.name=projects/*/locations/*/queues/*}" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.cloud.tasks.v2beta3": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks": 4 + } + }, + "objc_class_prefix": { + "valueCounts": { + "TASKS": 1, + "": 3 + } + } + }, + "services": [ + { + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", + "methods": [ + { + "shortName": "CreateQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "CreateTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "DeleteQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "shortName": "DeleteTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" + } + ] + }, + { + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "shortName": "ListQueues", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListQueues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta3/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListTasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PauseQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" + } + ] + }, + { + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:purge" + } + ] + }, + { + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" + } + ] + }, + { + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.RunTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.texttospeech.v1", + "directory": "google/cloud/texttospeech/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "texttospeech.googleapis.com", + "title": "Cloud Text-to-Speech API", + "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", + "importDirectories": [ + "google/api" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.texttospeech.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.TextToSpeech.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\TextToSpeech\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::TextToSpeech::V1": 1 + } + } + }, + "services": [ + { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech", + "methods": [ + { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.ListVoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/voices" + } + ] + }, + { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1.TextToSpeech.SynthesizeSpeech", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/text:synthesize" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.texttospeech.v1beta1", + "directory": "google/cloud/texttospeech/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "texttospeech.googleapis.com", + "title": "Cloud Text-to-Speech API", + "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", + "importDirectories": [ + "google/api" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.texttospeech.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.TextToSpeech.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\TextToSpeech\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::TextToSpeech::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "TextToSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech", + "methods": [ + { + "shortName": "ListVoices", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/voices" + } + ] + }, + { + "shortName": "SynthesizeSpeech", + "fullName": "google.cloud.texttospeech.v1beta1.TextToSpeech.SynthesizeSpeech", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/text:synthesize" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.tpu.v1", + "directory": "google/cloud/tpu/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "tpu.googleapis.com", + "title": "Cloud TPU API", + "description": "TPU API provides customers with access to Google TPU technology.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.tpu.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/tpu/v1;tpu": 1 + } + } + }, + "services": [ + { + "shortName": "Tpu", + "fullName": "google.cloud.tpu.v1.Tpu", + "methods": [ + { + "shortName": "CreateNode", + "fullName": "google.cloud.tpu.v1.Tpu.CreateNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/nodes" + } + ] + }, + { + "shortName": "DeleteNode", + "fullName": "google.cloud.tpu.v1.Tpu.DeleteNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/nodes/*}" + } + ] + }, + { + "shortName": "GetAcceleratorType", + "fullName": "google.cloud.tpu.v1.Tpu.GetAcceleratorType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/acceleratorTypes/*}" + } + ] + }, + { + "shortName": "GetNode", + "fullName": "google.cloud.tpu.v1.Tpu.GetNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/nodes/*}" + } + ] + }, + { + "shortName": "GetTensorFlowVersion", + "fullName": "google.cloud.tpu.v1.Tpu.GetTensorFlowVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/tensorflowVersions/*}" + } + ] + }, + { + "shortName": "ListAcceleratorTypes", + "fullName": "google.cloud.tpu.v1.Tpu.ListAcceleratorTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/acceleratorTypes" + } + ] + }, + { + "shortName": "ListNodes", + "fullName": "google.cloud.tpu.v1.Tpu.ListNodes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/nodes" + } + ] + }, + { + "shortName": "ListTensorFlowVersions", + "fullName": "google.cloud.tpu.v1.Tpu.ListTensorFlowVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/tensorflowVersions" + } + ] + }, + { + "shortName": "ReimageNode", + "fullName": "google.cloud.tpu.v1.Tpu.ReimageNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/nodes/*}:reimage" + } + ] + }, + { + "shortName": "StartNode", + "fullName": "google.cloud.tpu.v1.Tpu.StartNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/nodes/*}:start" + } + ] + }, + { + "shortName": "StopNode", + "fullName": "google.cloud.tpu.v1.Tpu.StopNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/nodes/*}:stop" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.translate.v3", + "directory": "google/cloud/translate/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "translate.googleapis.com", + "title": "Cloud Translation API", + "description": "Integrates text translation into your website or application.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.translate.v3": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/translate/v3;translate": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Translate.V3": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Translate\\V3": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Translate::V3": 1 + } + } + }, + "services": [ + { + "shortName": "TranslationService", + "fullName": "google.cloud.translation.v3.TranslationService", + "methods": [ + { + "shortName": "BatchTranslateText", + "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}:batchTranslateText" + } + ] + }, + { + "shortName": "CreateGlossary", + "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}/glossaries" + } + ] + }, + { + "shortName": "DeleteGlossary", + "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/glossaries/*}" + } + ] + }, + { + "shortName": "DetectLanguage", + "fullName": "google.cloud.translation.v3.TranslationService.DetectLanguage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}:detectLanguage" + }, + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*}:detectLanguage" + } + ] + }, + { + "shortName": "GetGlossary", + "fullName": "google.cloud.translation.v3.TranslationService.GetGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/glossaries/*}" + } + ] + }, + { + "shortName": "GetSupportedLanguages", + "fullName": "google.cloud.translation.v3.TranslationService.GetSupportedLanguages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*}/supportedLanguages" + }, + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*}/supportedLanguages" + } + ] + }, + { + "shortName": "ListGlossaries", + "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*}/glossaries" + } + ] + }, + { + "shortName": "TranslateText", + "fullName": "google.cloud.translation.v3.TranslationService.TranslateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}:translateText" + }, + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*}:translateText" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.translate.v3beta1", + "directory": "google/cloud/translate/v3beta1", + "version": "v3beta1", + "majorVersion": "v3", + "hostName": "translate.googleapis.com", + "title": "Cloud Translation API", + "description": "Integrates text translation into your website or application.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.translate.v3beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/translate/v3beta1;translate": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Translate.V3Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Translate\\V3beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Translate::V3beta1": 1 + } + } + }, + "services": [ + { + "shortName": "TranslationService", + "fullName": "google.cloud.translation.v3beta1.TranslationService", + "methods": [ + { + "shortName": "BatchTranslateDocument", + "fullName": "google.cloud.translation.v3beta1.TranslationService.BatchTranslateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}:batchTranslateDocument" + } + ] + }, + { + "shortName": "BatchTranslateText", + "fullName": "google.cloud.translation.v3beta1.TranslationService.BatchTranslateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}:batchTranslateText" + } + ] + }, + { + "shortName": "CreateGlossary", + "fullName": "google.cloud.translation.v3beta1.TranslationService.CreateGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}/glossaries" + } + ] + }, + { + "shortName": "DeleteGlossary", + "fullName": "google.cloud.translation.v3beta1.TranslationService.DeleteGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/glossaries/*}" + } + ] + }, + { + "shortName": "DetectLanguage", + "fullName": "google.cloud.translation.v3beta1.TranslationService.DetectLanguage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}:detectLanguage" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*}:detectLanguage" + } + ] + }, + { + "shortName": "GetGlossary", + "fullName": "google.cloud.translation.v3beta1.TranslationService.GetGlossary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/glossaries/*}" + } + ] + }, + { + "shortName": "GetSupportedLanguages", + "fullName": "google.cloud.translation.v3beta1.TranslationService.GetSupportedLanguages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*}/supportedLanguages" + }, + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*}/supportedLanguages" + } + ] + }, + { + "shortName": "ListGlossaries", + "fullName": "google.cloud.translation.v3beta1.TranslationService.ListGlossaries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*}/glossaries" + } + ] + }, + { + "shortName": "TranslateDocument", + "fullName": "google.cloud.translation.v3beta1.TranslationService.TranslateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}:translateDocument" + } + ] + }, + { + "shortName": "TranslateText", + "fullName": "google.cloud.translation.v3beta1.TranslationService.TranslateText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*}:translateText" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*}:translateText" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.video.transcoder.v1beta1", + "directory": "google/cloud/video/transcoder/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "transcoder.googleapis.com", + "title": "Transcoder API", + "description": "This API converts video files into formats suitable for consumer distribution.", + "importDirectories": [ + "google/api", + "google/cloud/video/transcoder/v1beta1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.video.transcoder.v1beta1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1;transcoder": 2 + } + } + }, + "services": [ + { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService", + "methods": [ + { + "shortName": "CreateJob", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "CreateJobTemplate", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.CreateJobTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobTemplates" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "DeleteJobTemplate", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.DeleteJobTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/jobTemplates/*}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "GetJobTemplate", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.GetJobTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/jobTemplates/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "ListJobTemplates", + "fullName": "google.cloud.video.transcoder.v1beta1.TranscoderService.ListJobTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobTemplates" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.videointelligence.v1", + "directory": "google/cloud/videointelligence/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "videointelligence.googleapis.com", + "title": "Cloud Video Intelligence API", + "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.videointelligence.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/videointelligence/v1;videointelligence": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.VideoIntelligence.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\VideoIntelligence\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::VideoIntelligence::V1": 1 + } + } + }, + "services": [ + { + "shortName": "VideoIntelligenceService", + "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService", + "methods": [ + { + "shortName": "AnnotateVideo", + "fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/videos:annotate" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.videointelligence.v1p3beta1", + "directory": "google/cloud/videointelligence/v1p3beta1", + "version": "v1p3beta1", + "majorVersion": "v1", + "hostName": "videointelligence.googleapis.com", + "title": "Cloud Video Intelligence API", + "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.videointelligence.v1p3beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1;videointelligence": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.VideoIntelligence.V1P3Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\VideoIntelligence\\V1p3beta1": 1 + } + } + }, + "services": [ + { + "shortName": "StreamingVideoIntelligenceService", + "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService", + "methods": [ + { + "shortName": "StreamingAnnotateVideo", + "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideo", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "VideoIntelligenceService", + "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService", + "methods": [ + { + "shortName": "AnnotateVideo", + "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/videos:annotate" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vision.v1", + "directory": "google/cloud/vision/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "vision.googleapis.com", + "title": "Cloud Vision API", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "importDirectories": [ + "google/api", + "google/cloud/vision/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vision.v1": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vision/v1;vision": 6 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 6 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCVN": 6 + } + } + }, + "services": [ + { + "shortName": "ImageAnnotator", + "fullName": "google.cloud.vision.v1.ImageAnnotator", + "methods": [ + { + "shortName": "AsyncBatchAnnotateFiles", + "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/files:asyncBatchAnnotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/files:asyncBatchAnnotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/files:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "AsyncBatchAnnotateImages", + "fullName": "google.cloud.vision.v1.ImageAnnotator.AsyncBatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/images:asyncBatchAnnotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/images:asyncBatchAnnotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/images:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "BatchAnnotateFiles", + "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/files:annotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/files:annotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/files:annotate" + } + ] + }, + { + "shortName": "BatchAnnotateImages", + "fullName": "google.cloud.vision.v1.ImageAnnotator.BatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/images:annotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/images:annotate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/images:annotate" + } + ] + } + ] + }, + { + "shortName": "ProductSearch", + "fullName": "google.cloud.vision.v1.ProductSearch", + "methods": [ + { + "shortName": "AddProductToProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.AddProductToProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/productSets/*}:addProduct" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.vision.v1.ProductSearch.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "CreateProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.CreateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "CreateReferenceImage", + "fullName": "google.cloud.vision.v1.ProductSearch.CreateReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "DeleteProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "DeleteReferenceImage", + "fullName": "google.cloud.vision.v1.ProductSearch.DeleteReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.vision.v1.ProductSearch.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "GetProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.GetProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "GetReferenceImage", + "fullName": "google.cloud.vision.v1.ProductSearch.GetReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "ImportProductSets", + "fullName": "google.cloud.vision.v1.ProductSearch.ImportProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/productSets:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.vision.v1.ProductSearch.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "ListProductSets", + "fullName": "google.cloud.vision.v1.ProductSearch.ListProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "ListProductsInProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.ListProductsInProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/productSets/*}/products" + } + ] + }, + { + "shortName": "ListReferenceImages", + "fullName": "google.cloud.vision.v1.ProductSearch.ListReferenceImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "PurgeProducts", + "fullName": "google.cloud.vision.v1.ProductSearch.PurgeProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/products:purge" + } + ] + }, + { + "shortName": "RemoveProductFromProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.RemoveProductFromProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/productSets/*}:removeProduct" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{product.name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "UpdateProductSet", + "fullName": "google.cloud.vision.v1.ProductSearch.UpdateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{product_set.name=projects/*/locations/*/productSets/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vision.v1p1beta1", + "directory": "google/cloud/vision/v1p1beta1", + "version": "v1p1beta1", + "majorVersion": "v1", + "hostName": "vision.googleapis.com", + "title": "Cloud Vision API", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "importDirectories": [ + "google/api", + "google/cloud/vision/v1p1beta1", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vision.v1p1beta1": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision": 4 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 4 + } + } + }, + "services": [ + { + "shortName": "ImageAnnotator", + "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator", + "methods": [ + { + "shortName": "BatchAnnotateImages", + "fullName": "google.cloud.vision.v1p1beta1.ImageAnnotator.BatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/images:annotate" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vision.v1p2beta1", + "directory": "google/cloud/vision/v1p2beta1", + "version": "v1p2beta1", + "majorVersion": "v1", + "hostName": "vision.googleapis.com", + "title": "Cloud Vision API", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "importDirectories": [ + "google/api", + "google/cloud/vision/v1p2beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vision.v1p2beta1": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision": 4 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 4 + } + } + }, + "services": [ + { + "shortName": "ImageAnnotator", + "fullName": "google.cloud.vision.v1p2beta1.ImageAnnotator", + "methods": [ + { + "shortName": "AsyncBatchAnnotateFiles", + "fullName": "google.cloud.vision.v1p2beta1.ImageAnnotator.AsyncBatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p2beta1/files:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "BatchAnnotateImages", + "fullName": "google.cloud.vision.v1p2beta1.ImageAnnotator.BatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p2beta1/images:annotate" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vision.v1p3beta1", + "directory": "google/cloud/vision/v1p3beta1", + "version": "v1p3beta1", + "majorVersion": "v1", + "hostName": "vision.googleapis.com", + "title": "Cloud Vision API", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "importDirectories": [ + "google/api", + "google/cloud/vision/v1p3beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vision.v1p3beta1": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision": 6 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 6 + } + } + }, + "services": [ + { + "shortName": "ImageAnnotator", + "fullName": "google.cloud.vision.v1p3beta1.ImageAnnotator", + "methods": [ + { + "shortName": "AsyncBatchAnnotateFiles", + "fullName": "google.cloud.vision.v1p3beta1.ImageAnnotator.AsyncBatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/files:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "BatchAnnotateImages", + "fullName": "google.cloud.vision.v1p3beta1.ImageAnnotator.BatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/images:annotate" + } + ] + } + ] + }, + { + "shortName": "ProductSearch", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch", + "methods": [ + { + "shortName": "AddProductToProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.AddProductToProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{name=projects/*/locations/*/productSets/*}:addProduct" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "CreateProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.CreateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "CreateReferenceImage", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.CreateReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p3beta1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "DeleteProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.DeleteProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p3beta1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "DeleteReferenceImage", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.DeleteReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "GetProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.GetProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "GetReferenceImage", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.GetReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "ImportProductSets", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.ImportProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{parent=projects/*/locations/*}/productSets:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "ListProductSets", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.ListProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "ListProductsInProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.ListProductsInProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{name=projects/*/locations/*/productSets/*}/products" + } + ] + }, + { + "shortName": "ListReferenceImages", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.ListReferenceImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p3beta1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "RemoveProductFromProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.RemoveProductFromProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p3beta1/{name=projects/*/locations/*/productSets/*}:removeProduct" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p3beta1/{product.name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "UpdateProductSet", + "fullName": "google.cloud.vision.v1p3beta1.ProductSearch.UpdateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p3beta1/{product_set.name=projects/*/locations/*/productSets/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vision.v1p4beta1", + "directory": "google/cloud/vision/v1p4beta1", + "version": "v1p4beta1", + "majorVersion": "v1", + "hostName": "vision.googleapis.com", + "title": "Cloud Vision API", + "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", + "importDirectories": [ + "google/api", + "google/cloud/vision/v1p4beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vision.v1p4beta1": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision": 7 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 7 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCVN": 7 + } + } + }, + "services": [ + { + "shortName": "ImageAnnotator", + "fullName": "google.cloud.vision.v1p4beta1.ImageAnnotator", + "methods": [ + { + "shortName": "AsyncBatchAnnotateFiles", + "fullName": "google.cloud.vision.v1p4beta1.ImageAnnotator.AsyncBatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/files:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "AsyncBatchAnnotateImages", + "fullName": "google.cloud.vision.v1p4beta1.ImageAnnotator.AsyncBatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/images:asyncBatchAnnotate" + } + ] + }, + { + "shortName": "BatchAnnotateFiles", + "fullName": "google.cloud.vision.v1p4beta1.ImageAnnotator.BatchAnnotateFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/files:annotate" + } + ] + }, + { + "shortName": "BatchAnnotateImages", + "fullName": "google.cloud.vision.v1p4beta1.ImageAnnotator.BatchAnnotateImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/images:annotate" + } + ] + } + ] + }, + { + "shortName": "ProductSearch", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch", + "methods": [ + { + "shortName": "AddProductToProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.AddProductToProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{name=projects/*/locations/*/productSets/*}:addProduct" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "CreateProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.CreateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "CreateReferenceImage", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.CreateReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p4beta1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "DeleteProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.DeleteProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p4beta1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "DeleteReferenceImage", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.DeleteReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "GetProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.GetProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{name=projects/*/locations/*/productSets/*}" + } + ] + }, + { + "shortName": "GetReferenceImage", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.GetReferenceImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}" + } + ] + }, + { + "shortName": "ImportProductSets", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.ImportProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/productSets:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/products" + } + ] + }, + { + "shortName": "ListProductSets", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.ListProductSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/productSets" + } + ] + }, + { + "shortName": "ListProductsInProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.ListProductsInProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{name=projects/*/locations/*/productSets/*}/products" + } + ] + }, + { + "shortName": "ListReferenceImages", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.ListReferenceImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p4beta1/{parent=projects/*/locations/*/products/*}/referenceImages" + } + ] + }, + { + "shortName": "PurgeProducts", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.PurgeProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{parent=projects/*/locations/*}/products:purge" + } + ] + }, + { + "shortName": "RemoveProductFromProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.RemoveProductFromProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p4beta1/{name=projects/*/locations/*/productSets/*}:removeProduct" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p4beta1/{product.name=projects/*/locations/*/products/*}" + } + ] + }, + { + "shortName": "UpdateProductSet", + "fullName": "google.cloud.vision.v1p4beta1.ProductSearch.UpdateProductSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p4beta1/{product_set.name=projects/*/locations/*/productSets/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.vpcaccess.v1", + "directory": "google/cloud/vpcaccess/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "vpcaccess.googleapis.com", + "title": "Serverless VPC Access API", + "description": "API for managing VPC access connectors.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.vpcaccess.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/vpcaccess/v1;vpcaccess": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.VpcAccess.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\VpcAccess\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::VpcAccess::V1": 1 + } + } + }, + "services": [ + { + "shortName": "VpcAccessService", + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService", + "methods": [ + { + "shortName": "CreateConnector", + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.CreateConnector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/connectors" + } + ] + }, + { + "shortName": "DeleteConnector", + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.DeleteConnector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/connectors/*}" + } + ] + }, + { + "shortName": "GetConnector", + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.GetConnector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/connectors/*}" + } + ] + }, + { + "shortName": "ListConnectors", + "fullName": "google.cloud.vpcaccess.v1.VpcAccessService.ListConnectors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/connectors" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.webrisk.v1", + "directory": "google/cloud/webrisk/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "webrisk.googleapis.com", + "title": "Web Risk API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.webrisk.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/webrisk/v1;webrisk": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCWR": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.WebRisk.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\WebRisk\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::WebRisk::V1": 1 + } + } + }, + "services": [ + { + "shortName": "WebRiskService", + "fullName": "google.cloud.webrisk.v1.WebRiskService", + "methods": [ + { + "shortName": "ComputeThreatListDiff", + "fullName": "google.cloud.webrisk.v1.WebRiskService.ComputeThreatListDiff", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/threatLists:computeDiff" + } + ] + }, + { + "shortName": "CreateSubmission", + "fullName": "google.cloud.webrisk.v1.WebRiskService.CreateSubmission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/submissions" + } + ] + }, + { + "shortName": "SearchHashes", + "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchHashes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/hashes:search" + } + ] + }, + { + "shortName": "SearchUris", + "fullName": "google.cloud.webrisk.v1.WebRiskService.SearchUris", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/uris:search" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.webrisk.v1beta1", + "directory": "google/cloud/webrisk/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "webrisk.googleapis.com", + "title": "Web Risk API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.webrisk.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1;webrisk": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCWR": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.WebRisk.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\WebRisk\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::WebRisk::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "WebRiskServiceV1Beta1", + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1", + "methods": [ + { + "shortName": "ComputeThreatListDiff", + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiff", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/threatLists:computeDiff" + } + ] + }, + { + "shortName": "SearchHashes", + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/hashes:search" + } + ] + }, + { + "shortName": "SearchUris", + "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUris", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/uris:search" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.websecurityscanner.v1", + "directory": "google/cloud/websecurityscanner/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "websecurityscanner.googleapis.com", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "importDirectories": [ + "google/api", + "google/cloud/websecurityscanner/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.websecurityscanner.v1": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.WebSecurityScanner.V1": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\WebSecurityScanner\\V1": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::WebSecurityScanner::V1": 10 + } + } + }, + "services": [ + { + "shortName": "WebSecurityScanner", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner", + "methods": [ + { + "shortName": "CreateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.CreateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "DeleteScanConfig", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.DeleteScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetFinding", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/scanConfigs/*/scanRuns/*/findings/*}" + } + ] + }, + { + "shortName": "GetScanConfig", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetScanRun", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.GetScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/scanConfigs/*/scanRuns/*}" + } + ] + }, + { + "shortName": "ListCrawledUrls", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListCrawledUrls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/findings" + } + ] + }, + { + "shortName": "ListFindingTypeStats", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListFindingTypeStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats" + } + ] + }, + { + "shortName": "ListScanConfigs", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "ListScanRuns", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.ListScanRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/scanConfigs/*}/scanRuns" + } + ] + }, + { + "shortName": "StartScanRun", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StartScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/scanConfigs/*}:start" + } + ] + }, + { + "shortName": "StopScanRun", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.StopScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/scanConfigs/*/scanRuns/*}:stop" + } + ] + }, + { + "shortName": "UpdateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1.WebSecurityScanner.UpdateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{scan_config.name=projects/*/scanConfigs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.websecurityscanner.v1alpha", + "directory": "google/cloud/websecurityscanner/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "websecurityscanner.googleapis.com", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "importDirectories": [ + "google/api", + "google/cloud/websecurityscanner/v1alpha", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.websecurityscanner.v1alpha": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner": 7 + } + } + }, + "services": [ + { + "shortName": "WebSecurityScanner", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner", + "methods": [ + { + "shortName": "CreateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.CreateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "DeleteScanConfig", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.DeleteScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetFinding", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.GetFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/scanConfigs/*/scanRuns/*/findings/*}" + } + ] + }, + { + "shortName": "GetScanConfig", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.GetScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetScanRun", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.GetScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/scanConfigs/*/scanRuns/*}" + } + ] + }, + { + "shortName": "ListCrawledUrls", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.ListCrawledUrls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.ListFindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/findings" + } + ] + }, + { + "shortName": "ListFindingTypeStats", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.ListFindingTypeStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats" + } + ] + }, + { + "shortName": "ListScanConfigs", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.ListScanConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "ListScanRuns", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.ListScanRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/scanConfigs/*}/scanRuns" + } + ] + }, + { + "shortName": "StartScanRun", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.StartScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/scanConfigs/*}:start" + } + ] + }, + { + "shortName": "StopScanRun", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.StopScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/scanConfigs/*/scanRuns/*}:stop" + } + ] + }, + { + "shortName": "UpdateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1alpha.WebSecurityScanner.UpdateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{scan_config.name=projects/*/scanConfigs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.websecurityscanner.v1beta", + "directory": "google/cloud/websecurityscanner/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "websecurityscanner.googleapis.com", + "title": "Web Security Scanner API", + "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", + "importDirectories": [ + "google/api", + "google/cloud/websecurityscanner/v1beta", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.websecurityscanner.v1beta": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner": 10 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.WebSecurityScanner.V1Beta": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\WebSecurityScanner\\V1beta": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::WebSecurityScanner::V1beta": 10 + } + } + }, + "services": [ + { + "shortName": "WebSecurityScanner", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner", + "methods": [ + { + "shortName": "CreateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.CreateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "DeleteScanConfig", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.DeleteScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetFinding", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/scanConfigs/*/scanRuns/*/findings/*}" + } + ] + }, + { + "shortName": "GetScanConfig", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "GetScanRun", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.GetScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/scanConfigs/*/scanRuns/*}" + } + ] + }, + { + "shortName": "ListCrawledUrls", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListCrawledUrls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls" + } + ] + }, + { + "shortName": "ListFindings", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/scanConfigs/*/scanRuns/*}/findings" + } + ] + }, + { + "shortName": "ListFindingTypeStats", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListFindingTypeStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats" + } + ] + }, + { + "shortName": "ListScanConfigs", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "ListScanRuns", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.ListScanRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/scanConfigs/*}/scanRuns" + } + ] + }, + { + "shortName": "StartScanRun", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StartScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/scanConfigs/*}:start" + } + ] + }, + { + "shortName": "StopScanRun", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.StopScanRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/scanConfigs/*/scanRuns/*}:stop" + } + ] + }, + { + "shortName": "UpdateScanConfig", + "fullName": "google.cloud.websecurityscanner.v1beta.WebSecurityScanner.UpdateScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{scan_config.name=projects/*/scanConfigs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.workflows.executions.v1", + "directory": "google/cloud/workflows/executions/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "workflowexecutions.googleapis.com", + "title": "Workflow Executions API", + "description": "Execute workflows created with Workflows API.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.workflows.executions.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1;executions": 1 + } + } + }, + "services": [ + { + "shortName": "Executions", + "fullName": "google.cloud.workflows.executions.v1.Executions", + "methods": [ + { + "shortName": "CancelExecution", + "fullName": "google.cloud.workflows.executions.v1.Executions.CancelExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}:cancel" + } + ] + }, + { + "shortName": "CreateExecution", + "fullName": "google.cloud.workflows.executions.v1.Executions.CreateExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/workflows/*}/executions" + } + ] + }, + { + "shortName": "GetExecution", + "fullName": "google.cloud.workflows.executions.v1.Executions.GetExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workflows/*/executions/*}" + } + ] + }, + { + "shortName": "ListExecutions", + "fullName": "google.cloud.workflows.executions.v1.Executions.ListExecutions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/workflows/*}/executions" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.workflows.executions.v1beta", + "directory": "google/cloud/workflows/executions/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "workflowexecutions.googleapis.com", + "title": "Workflow Executions API", + "description": "Manages user-provided workflows.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.workflows.executions.v1beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1beta;executions": 1 + } + } + }, + "services": [ + { + "shortName": "Executions", + "fullName": "google.cloud.workflows.executions.v1beta.Executions", + "methods": [ + { + "shortName": "CancelExecution", + "fullName": "google.cloud.workflows.executions.v1beta.Executions.CancelExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}:cancel" + } + ] + }, + { + "shortName": "CreateExecution", + "fullName": "google.cloud.workflows.executions.v1beta.Executions.CreateExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions" + } + ] + }, + { + "shortName": "GetExecution", + "fullName": "google.cloud.workflows.executions.v1beta.Executions.GetExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}" + } + ] + }, + { + "shortName": "ListExecutions", + "fullName": "google.cloud.workflows.executions.v1beta.Executions.ListExecutions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.workflows.v1", + "directory": "google/cloud/workflows/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "workflows.googleapis.com", + "title": "Workflows API", + "description": "Orchestrate Workflows that invoke Google Cloud APIs, SaaS APIs or private API endpoints.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.workflows.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/workflows/v1;workflows": 1 + } + } + }, + "services": [ + { + "shortName": "Workflows", + "fullName": "google.cloud.workflows.v1.Workflows", + "methods": [ + { + "shortName": "CreateWorkflow", + "fullName": "google.cloud.workflows.v1.Workflows.CreateWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "DeleteWorkflow", + "fullName": "google.cloud.workflows.v1.Workflows.DeleteWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "GetWorkflow", + "fullName": "google.cloud.workflows.v1.Workflows.GetWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "ListWorkflows", + "fullName": "google.cloud.workflows.v1.Workflows.ListWorkflows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "UpdateWorkflow", + "fullName": "google.cloud.workflows.v1.Workflows.UpdateWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{workflow.name=projects/*/locations/*/workflows/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.cloud.workflows.v1beta", + "directory": "google/cloud/workflows/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "workflows.googleapis.com", + "title": "Workflows API", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.workflows.v1beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/workflows/v1beta;workflows": 1 + } + } + }, + "services": [ + { + "shortName": "Workflows", + "fullName": "google.cloud.workflows.v1beta.Workflows", + "methods": [ + { + "shortName": "CreateWorkflow", + "fullName": "google.cloud.workflows.v1beta.Workflows.CreateWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "DeleteWorkflow", + "fullName": "google.cloud.workflows.v1beta.Workflows.DeleteWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "GetWorkflow", + "fullName": "google.cloud.workflows.v1beta.Workflows.GetWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/workflows/*}" + } + ] + }, + { + "shortName": "ListWorkflows", + "fullName": "google.cloud.workflows.v1beta.Workflows.ListWorkflows", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/workflows" + } + ] + }, + { + "shortName": "UpdateWorkflow", + "fullName": "google.cloud.workflows.v1beta.Workflows.UpdateWorkflow", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{workflow.name=projects/*/locations/*/workflows/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.container.v1", + "directory": "google/container/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "container.googleapis.com", + "title": "Kubernetes Engine API", + "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.container.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/container/v1;container": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Container.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Container\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Container::V1": 1 + } + } + }, + "services": [ + { + "shortName": "ClusterManager", + "fullName": "google.container.v1.ClusterManager", + "methods": [ + { + "shortName": "CancelOperation", + "fullName": "google.container.v1.ClusterManager.CancelOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/operations/*}:cancel" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel" + } + ] + }, + { + "shortName": "CompleteIPRotation", + "fullName": "google.container.v1.ClusterManager.CompleteIPRotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:completeIpRotation" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:completeIpRotation" + } + ] + }, + { + "shortName": "CreateCluster", + "fullName": "google.container.v1.ClusterManager.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/clusters" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters" + } + ] + }, + { + "shortName": "CreateNodePool", + "fullName": "google.container.v1.ClusterManager.CreateNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.container.v1.ClusterManager.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "DeleteNodePool", + "fullName": "google.container.v1.ClusterManager.DeleteNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.container.v1.ClusterManager.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "GetJSONWebKeys", + "fullName": "google.container.v1.ClusterManager.GetJSONWebKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/jwks" + } + ] + }, + { + "shortName": "GetNodePool", + "fullName": "google.container.v1.ClusterManager.GetNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + } + ] + }, + { + "shortName": "GetOperation", + "fullName": "google.container.v1.ClusterManager.GetOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/operations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}" + } + ] + }, + { + "shortName": "GetServerConfig", + "fullName": "google.container.v1.ClusterManager.GetServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*}/serverConfig" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/serverconfig" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.container.v1.ClusterManager.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/clusters" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters" + } + ] + }, + { + "shortName": "ListNodePools", + "fullName": "google.container.v1.ClusterManager.ListNodePools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" + } + ] + }, + { + "shortName": "ListOperations", + "fullName": "google.container.v1.ClusterManager.ListOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/operations" + }, + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/zones/{zone}/operations" + } + ] + }, + { + "shortName": "ListUsableSubnetworks", + "fullName": "google.container.v1.ClusterManager.ListUsableSubnetworks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/aggregated/usableSubnetworks" + } + ] + }, + { + "shortName": "RollbackNodePoolUpgrade", + "fullName": "google.container.v1.ClusterManager.RollbackNodePoolUpgrade", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback" + } + ] + }, + { + "shortName": "SetAddonsConfig", + "fullName": "google.container.v1.ClusterManager.SetAddonsConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setAddons" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/addons" + } + ] + }, + { + "shortName": "SetLabels", + "fullName": "google.container.v1.ClusterManager.SetLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels" + } + ] + }, + { + "shortName": "SetLegacyAbac", + "fullName": "google.container.v1.ClusterManager.SetLegacyAbac", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac" + } + ] + }, + { + "shortName": "SetLocations", + "fullName": "google.container.v1.ClusterManager.SetLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setLocations" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations" + } + ] + }, + { + "shortName": "SetLoggingService", + "fullName": "google.container.v1.ClusterManager.SetLoggingService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setLogging" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/logging" + } + ] + }, + { + "shortName": "SetMaintenancePolicy", + "fullName": "google.container.v1.ClusterManager.SetMaintenancePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setMaintenancePolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMaintenancePolicy" + } + ] + }, + { + "shortName": "SetMasterAuth", + "fullName": "google.container.v1.ClusterManager.SetMasterAuth", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setMasterAuth" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth" + } + ] + }, + { + "shortName": "SetMonitoringService", + "fullName": "google.container.v1.ClusterManager.SetMonitoringService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setMonitoring" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/monitoring" + } + ] + }, + { + "shortName": "SetNetworkPolicy", + "fullName": "google.container.v1.ClusterManager.SetNetworkPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:setNetworkPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setNetworkPolicy" + } + ] + }, + { + "shortName": "SetNodePoolAutoscaling", + "fullName": "google.container.v1.ClusterManager.SetNodePoolAutoscaling", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling" + } + ] + }, + { + "shortName": "SetNodePoolManagement", + "fullName": "google.container.v1.ClusterManager.SetNodePoolManagement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement" + } + ] + }, + { + "shortName": "SetNodePoolSize", + "fullName": "google.container.v1.ClusterManager.SetNodePoolSize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setSize" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setSize" + } + ] + }, + { + "shortName": "StartIPRotation", + "fullName": "google.container.v1.ClusterManager.StartIPRotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:startIpRotation" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:startIpRotation" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.container.v1.ClusterManager.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "UpdateMaster", + "fullName": "google.container.v1.ClusterManager.UpdateMaster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:updateMaster" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master" + } + ] + }, + { + "shortName": "UpdateNodePool", + "fullName": "google.container.v1.ClusterManager.UpdateNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update" + } + ] + } + ] + } + ] + }, + { + "id": "google.container.v1beta1", + "directory": "google/container/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "container.googleapis.com", + "title": "Kubernetes Engine API", + "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.container.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/container/v1beta1;container": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Container.V1Beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Container\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Container::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "ClusterManager", + "fullName": "google.container.v1beta1.ClusterManager", + "methods": [ + { + "shortName": "CancelOperation", + "fullName": "google.container.v1beta1.ClusterManager.CancelOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/operations/*}:cancel" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel" + } + ] + }, + { + "shortName": "CompleteIPRotation", + "fullName": "google.container.v1beta1.ClusterManager.CompleteIPRotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:completeIpRotation" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:completeIpRotation" + } + ] + }, + { + "shortName": "CreateCluster", + "fullName": "google.container.v1beta1.ClusterManager.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/clusters" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters" + } + ] + }, + { + "shortName": "CreateNodePool", + "fullName": "google.container.v1beta1.ClusterManager.CreateNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.container.v1beta1.ClusterManager.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "DeleteNodePool", + "fullName": "google.container.v1beta1.ClusterManager.DeleteNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.container.v1beta1.ClusterManager.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "GetJSONWebKeys", + "fullName": "google.container.v1beta1.ClusterManager.GetJSONWebKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/clusters/*}/jwks" + } + ] + }, + { + "shortName": "GetNodePool", + "fullName": "google.container.v1beta1.ClusterManager.GetNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}" + } + ] + }, + { + "shortName": "GetOperation", + "fullName": "google.container.v1beta1.ClusterManager.GetOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/operations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/operations/{operation_id}" + } + ] + }, + { + "shortName": "GetServerConfig", + "fullName": "google.container.v1beta1.ClusterManager.GetServerConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*}/serverConfig" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/serverconfig" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.container.v1beta1.ClusterManager.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/clusters" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters" + } + ] + }, + { + "shortName": "ListLocations", + "fullName": "google.container.v1beta1.ClusterManager.ListLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/locations" + } + ] + }, + { + "shortName": "ListNodePools", + "fullName": "google.container.v1beta1.ClusterManager.ListNodePools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/clusters/*}/nodePools" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools" + } + ] + }, + { + "shortName": "ListOperations", + "fullName": "google.container.v1beta1.ClusterManager.ListOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/operations" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/operations" + } + ] + }, + { + "shortName": "ListUsableSubnetworks", + "fullName": "google.container.v1beta1.ClusterManager.ListUsableSubnetworks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/aggregated/usableSubnetworks" + } + ] + }, + { + "shortName": "RollbackNodePoolUpgrade", + "fullName": "google.container.v1beta1.ClusterManager.RollbackNodePoolUpgrade", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback" + } + ] + }, + { + "shortName": "SetAddonsConfig", + "fullName": "google.container.v1beta1.ClusterManager.SetAddonsConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setAddons" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/addons" + } + ] + }, + { + "shortName": "SetLabels", + "fullName": "google.container.v1beta1.ClusterManager.SetLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setResourceLabels" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels" + } + ] + }, + { + "shortName": "SetLegacyAbac", + "fullName": "google.container.v1beta1.ClusterManager.SetLegacyAbac", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac" + } + ] + }, + { + "shortName": "SetLocations", + "fullName": "google.container.v1beta1.ClusterManager.SetLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setLocations" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations" + } + ] + }, + { + "shortName": "SetLoggingService", + "fullName": "google.container.v1beta1.ClusterManager.SetLoggingService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setLogging" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/logging" + } + ] + }, + { + "shortName": "SetMaintenancePolicy", + "fullName": "google.container.v1beta1.ClusterManager.SetMaintenancePolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setMaintenancePolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMaintenancePolicy" + } + ] + }, + { + "shortName": "SetMasterAuth", + "fullName": "google.container.v1beta1.ClusterManager.SetMasterAuth", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setMasterAuth" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth" + } + ] + }, + { + "shortName": "SetMonitoringService", + "fullName": "google.container.v1beta1.ClusterManager.SetMonitoringService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setMonitoring" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/monitoring" + } + ] + }, + { + "shortName": "SetNetworkPolicy", + "fullName": "google.container.v1beta1.ClusterManager.SetNetworkPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:setNetworkPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setNetworkPolicy" + } + ] + }, + { + "shortName": "SetNodePoolAutoscaling", + "fullName": "google.container.v1beta1.ClusterManager.SetNodePoolAutoscaling", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling" + } + ] + }, + { + "shortName": "SetNodePoolManagement", + "fullName": "google.container.v1beta1.ClusterManager.SetNodePoolManagement", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement" + } + ] + }, + { + "shortName": "SetNodePoolSize", + "fullName": "google.container.v1beta1.ClusterManager.SetNodePoolSize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setSize" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setSize" + } + ] + }, + { + "shortName": "StartIPRotation", + "fullName": "google.container.v1beta1.ClusterManager.StartIPRotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:startIpRotation" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:startIpRotation" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.container.v1beta1.ClusterManager.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}" + }, + { + "httpMethod": "PUT", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}" + } + ] + }, + { + "shortName": "UpdateMaster", + "fullName": "google.container.v1beta1.ClusterManager.UpdateMaster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:updateMaster" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master" + } + ] + }, + { + "shortName": "UpdateNodePool", + "fullName": "google.container.v1beta1.ClusterManager.UpdateNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update" + } + ] + } + ] + } + ] + }, + { + "id": "google.datastore.admin.v1", + "directory": "google/datastore/admin/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "datastore.googleapis.com", + "title": "Cloud Datastore API", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", + "importDirectories": [ + "google/api", + "google/datastore/admin/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.datastore.admin.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/datastore/admin/v1;admin": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Datastore.Admin.V1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Datastore\\Admin\\V1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Datastore::Admin::V1": 3 + } + } + }, + "services": [ + { + "shortName": "DatastoreAdmin", + "fullName": "google.datastore.admin.v1.DatastoreAdmin", + "methods": [ + { + "shortName": "CreateIndex", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.CreateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/indexes" + } + ] + }, + { + "shortName": "DeleteIndex", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.DeleteIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/indexes/{index_id}" + } + ] + }, + { + "shortName": "ExportEntities", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ExportEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:export" + } + ] + }, + { + "shortName": "GetIndex", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.GetIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/indexes/{index_id}" + } + ] + }, + { + "shortName": "ImportEntities", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ImportEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:import" + } + ] + }, + { + "shortName": "ListIndexes", + "fullName": "google.datastore.admin.v1.DatastoreAdmin.ListIndexes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/indexes" + } + ] + } + ] + } + ] + }, + { + "id": "google.datastore.v1", + "directory": "google/datastore/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "datastore.googleapis.com", + "title": "Cloud Datastore API", + "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", + "importDirectories": [ + "google/api", + "google/datastore/v1", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.datastore.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/datastore/v1;datastore": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Datastore.V1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Datastore\\V1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Datastore::V1": 3 + } + } + }, + "services": [ + { + "shortName": "Datastore", + "fullName": "google.datastore.v1.Datastore", + "methods": [ + { + "shortName": "AllocateIds", + "fullName": "google.datastore.v1.Datastore.AllocateIds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:allocateIds" + } + ] + }, + { + "shortName": "BeginTransaction", + "fullName": "google.datastore.v1.Datastore.BeginTransaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:beginTransaction" + } + ] + }, + { + "shortName": "Commit", + "fullName": "google.datastore.v1.Datastore.Commit", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:commit" + } + ] + }, + { + "shortName": "Lookup", + "fullName": "google.datastore.v1.Datastore.Lookup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:lookup" + } + ] + }, + { + "shortName": "ReserveIds", + "fullName": "google.datastore.v1.Datastore.ReserveIds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:reserveIds" + } + ] + }, + { + "shortName": "Rollback", + "fullName": "google.datastore.v1.Datastore.Rollback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:rollback" + } + ] + }, + { + "shortName": "RunQuery", + "fullName": "google.datastore.v1.Datastore.RunQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}:runQuery" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.artifactregistry.v1beta2", + "directory": "google/devtools/artifactregistry/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "artifactregistry.googleapis.com", + "title": "Artifact Registry API", + "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", + "importDirectories": [ + "google/api", + "google/devtools/artifactregistry/v1beta2", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.artifactregistry.v1beta2": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry": 7 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ArtifactRegistry.V1Beta2": 7 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ArtifactRegistry\\V1beta2": 7 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ArtifactRegistry::V1beta2": 7 + } + } + }, + "services": [ + { + "shortName": "ArtifactRegistry", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry", + "methods": [ + { + "shortName": "CreateRepository", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*}/repositories" + } + ] + }, + { + "shortName": "CreateTag", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.CreateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags" + } + ] + }, + { + "shortName": "DeletePackage", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeletePackage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}" + } + ] + }, + { + "shortName": "DeleteRepository", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*}" + } + ] + }, + { + "shortName": "DeleteTag", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}" + } + ] + }, + { + "shortName": "DeleteVersion", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.DeleteVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}" + } + ] + }, + { + "shortName": "GetFile", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/files/**}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetPackage", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetPackage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}" + } + ] + }, + { + "shortName": "GetRepository", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*}" + } + ] + }, + { + "shortName": "GetTag", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}" + } + ] + }, + { + "shortName": "GetVersion", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.GetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}" + } + ] + }, + { + "shortName": "ListFiles", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*/repositories/*}/files" + } + ] + }, + { + "shortName": "ListPackages", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListPackages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*/repositories/*}/packages" + } + ] + }, + { + "shortName": "ListRepositories", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListRepositories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*}/repositories" + } + ] + }, + { + "shortName": "ListTags", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags" + } + ] + }, + { + "shortName": "ListVersions", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.ListVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateRepository", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/{repository.name=projects/*/locations/*/repositories/*}" + } + ] + }, + { + "shortName": "UpdateTag", + "fullName": "google.devtools.artifactregistry.v1beta2.ArtifactRegistry.UpdateTag", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.build.v1", + "directory": "google/devtools/build/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "buildeventservice.googleapis.com", + "title": "Build Event Service Backend API", + "description": "Handles build events from tools such as bazel.", + "importDirectories": [ + "google/api", + "google/devtools/build/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.build.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/build/v1;build": 3 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Build\\V1": 3 + } + } + }, + "services": [ + { + "shortName": "PublishBuildEvent", + "fullName": "google.devtools.build.v1.PublishBuildEvent", + "methods": [ + { + "shortName": "PublishBuildToolEventStream", + "fullName": "google.devtools.build.v1.PublishBuildEvent.PublishBuildToolEventStream", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id=*}/events:publish" + }, + { + "httpMethod": "POST", + "path": "/v1/events:publish" + } + ] + }, + { + "shortName": "PublishLifecycleEvent", + "fullName": "google.devtools.build.v1.PublishBuildEvent.PublishLifecycleEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id=*}/lifecycleEvents:publish" + }, + { + "httpMethod": "POST", + "path": "/v1/lifecycleEvents:publish" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.cloudbuild.v1", + "directory": "google/devtools/cloudbuild/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudbuild.googleapis.com", + "title": "Cloud Build API", + "description": "Creates and manages builds on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloudbuild.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1;cloudbuild": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCB": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.CloudBuild.V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Build::V1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudBuild", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild", + "methods": [ + { + "shortName": "CancelBuild", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CancelBuild", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/builds/{id}:cancel" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/builds/*}:cancel" + } + ] + }, + { + "shortName": "CreateBuild", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuild", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/builds" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/builds" + } + ] + }, + { + "shortName": "CreateBuildTrigger", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateBuildTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/triggers" + } + ] + }, + { + "shortName": "CreateWorkerPool", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.CreateWorkerPool", + "mode": "UNARY" + }, + { + "shortName": "DeleteBuildTrigger", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteBuildTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project_id}/triggers/{trigger_id}" + } + ] + }, + { + "shortName": "DeleteWorkerPool", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.DeleteWorkerPool", + "mode": "UNARY" + }, + { + "shortName": "GetBuild", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuild", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/builds/{id}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/builds/*}" + } + ] + }, + { + "shortName": "GetBuildTrigger", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetBuildTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/triggers/{trigger_id}" + } + ] + }, + { + "shortName": "GetWorkerPool", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.GetWorkerPool", + "mode": "UNARY" + }, + { + "shortName": "ListBuilds", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuilds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/builds" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/builds" + } + ] + }, + { + "shortName": "ListBuildTriggers", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListBuildTriggers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/triggers" + } + ] + }, + { + "shortName": "ListWorkerPools", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ListWorkerPools", + "mode": "UNARY" + }, + { + "shortName": "ReceiveTriggerWebhook", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.ReceiveTriggerWebhook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/triggers/{trigger}:webhook" + } + ] + }, + { + "shortName": "RetryBuild", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RetryBuild", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/builds/{id}:retry" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/builds/*}:retry" + } + ] + }, + { + "shortName": "RunBuildTrigger", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.RunBuildTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/projects/{project_id}/triggers/{trigger_id}:run" + } + ] + }, + { + "shortName": "UpdateBuildTrigger", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateBuildTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/projects/{project_id}/triggers/{trigger_id}" + } + ] + }, + { + "shortName": "UpdateWorkerPool", + "fullName": "google.devtools.cloudbuild.v1.CloudBuild.UpdateWorkerPool", + "mode": "UNARY" + } + ] + } + ] + }, + { + "id": "google.devtools.clouddebugger.v2", + "directory": "google/devtools/clouddebugger/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "clouddebugger.googleapis.com", + "title": "Stackdriver Debugger API", + "description": "Examines the call stack and variables of a running application without stopping or slowing it down.", + "importDirectories": [ + "google/api", + "google/devtools/clouddebugger/v2", + "google/devtools/source/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.clouddebugger.v2": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2;clouddebugger": 3 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Debugger.V2": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Debugger\\V2": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Debugger::V2": 3 + } + } + }, + "services": [ + { + "shortName": "Controller2", + "fullName": "google.devtools.clouddebugger.v2.Controller2", + "methods": [ + { + "shortName": "ListActiveBreakpoints", + "fullName": "google.devtools.clouddebugger.v2.Controller2.ListActiveBreakpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/controller/debuggees/{debuggee_id}/breakpoints" + } + ] + }, + { + "shortName": "RegisterDebuggee", + "fullName": "google.devtools.clouddebugger.v2.Controller2.RegisterDebuggee", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/controller/debuggees/register" + } + ] + }, + { + "shortName": "UpdateActiveBreakpoint", + "fullName": "google.devtools.clouddebugger.v2.Controller2.UpdateActiveBreakpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v2/controller/debuggees/{debuggee_id}/breakpoints/{breakpoint.id}" + } + ] + } + ] + }, + { + "shortName": "Debugger2", + "fullName": "google.devtools.clouddebugger.v2.Debugger2", + "methods": [ + { + "shortName": "DeleteBreakpoint", + "fullName": "google.devtools.clouddebugger.v2.Debugger2.DeleteBreakpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/debugger/debuggees/{debuggee_id}/breakpoints/{breakpoint_id}" + } + ] + }, + { + "shortName": "GetBreakpoint", + "fullName": "google.devtools.clouddebugger.v2.Debugger2.GetBreakpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/debugger/debuggees/{debuggee_id}/breakpoints/{breakpoint_id}" + } + ] + }, + { + "shortName": "ListBreakpoints", + "fullName": "google.devtools.clouddebugger.v2.Debugger2.ListBreakpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/debugger/debuggees/{debuggee_id}/breakpoints" + } + ] + }, + { + "shortName": "ListDebuggees", + "fullName": "google.devtools.clouddebugger.v2.Debugger2.ListDebuggees", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/debugger/debuggees" + } + ] + }, + { + "shortName": "SetBreakpoint", + "fullName": "google.devtools.clouddebugger.v2.Debugger2.SetBreakpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/debugger/debuggees/{debuggee_id}/breakpoints/set" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.clouderrorreporting.v1beta1", + "directory": "google/devtools/clouderrorreporting/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "clouderrorreporting.googleapis.com", + "title": "Error Reporting API", + "description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.", + "importDirectories": [ + "google/api", + "google/devtools/clouderrorreporting/v1beta1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.clouderrorreporting.v1beta1": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting": 4 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ErrorReporting.V1Beta1": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ErrorReporting\\V1beta1": 4 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ErrorReporting::V1beta1": 4 + } + } + }, + "services": [ + { + "shortName": "ErrorGroupService", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService", + "methods": [ + { + "shortName": "GetGroup", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.GetGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{group_name=projects/*/groups/*}" + } + ] + }, + { + "shortName": "UpdateGroup", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorGroupService.UpdateGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1beta1/{group.name=projects/*/groups/*}" + } + ] + } + ] + }, + { + "shortName": "ErrorStatsService", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService", + "methods": [ + { + "shortName": "DeleteEvents", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.DeleteEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{project_name=projects/*}/events" + } + ] + }, + { + "shortName": "ListEvents", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{project_name=projects/*}/events" + } + ] + }, + { + "shortName": "ListGroupStats", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{project_name=projects/*}/groupStats" + } + ] + } + ] + }, + { + "shortName": "ReportErrorsService", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService", + "methods": [ + { + "shortName": "ReportErrorEvent", + "fullName": "google.devtools.clouderrorreporting.v1beta1.ReportErrorsService.ReportErrorEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{project_name=projects/*}/events:report" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.cloudprofiler.v2", + "directory": "google/devtools/cloudprofiler/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudprofiler.googleapis.com", + "title": "Cloud Profiler API", + "description": "Manages continuous profiling information.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.cloudprofiler.v2": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2;cloudprofiler": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Profiler.V2": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Profiler\\V2": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Profiler::V2": 1 + } + } + }, + "services": [ + { + "shortName": "ProfilerService", + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService", + "methods": [ + { + "shortName": "CreateOfflineProfile", + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/profiles:createOffline" + } + ] + }, + { + "shortName": "CreateProfile", + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/profiles" + } + ] + }, + { + "shortName": "UpdateProfile", + "fullName": "google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{profile.name=projects/*/profiles/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.cloudtrace.v1", + "directory": "google/devtools/cloudtrace/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudtrace.googleapis.com", + "title": "Stackdriver Trace API", + "description": "Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.cloudtrace.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/cloudtrace/v1;cloudtrace": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Trace.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Trace\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Trace::V1": 1 + } + } + }, + "services": [ + { + "shortName": "TraceService", + "fullName": "google.devtools.cloudtrace.v1.TraceService", + "methods": [ + { + "shortName": "GetTrace", + "fullName": "google.devtools.cloudtrace.v1.TraceService.GetTrace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/traces/{trace_id}" + } + ] + }, + { + "shortName": "ListTraces", + "fullName": "google.devtools.cloudtrace.v1.TraceService.ListTraces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/projects/{project_id}/traces" + } + ] + }, + { + "shortName": "PatchTraces", + "fullName": "google.devtools.cloudtrace.v1.TraceService.PatchTraces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/projects/{project_id}/traces" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.cloudtrace.v2", + "directory": "google/devtools/cloudtrace/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudtrace.googleapis.com", + "title": "Stackdriver Trace API", + "description": "Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.", + "importDirectories": [ + "google/api", + "google/devtools/cloudtrace/v2", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.cloudtrace.v2": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2;cloudtrace": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Trace.V2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Trace\\V2": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Trace::V2": 2 + } + } + }, + "services": [ + { + "shortName": "TraceService", + "fullName": "google.devtools.cloudtrace.v2.TraceService", + "methods": [ + { + "shortName": "BatchWriteSpans", + "fullName": "google.devtools.cloudtrace.v2.TraceService.BatchWriteSpans", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*}/traces:batchWrite" + } + ] + }, + { + "shortName": "CreateSpan", + "fullName": "google.devtools.cloudtrace.v2.TraceService.CreateSpan", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/traces/*/spans/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.containeranalysis.v1", + "directory": "google/devtools/containeranalysis/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "containeranalysis.googleapis.com", + "title": "Container Analysis API", + "description": "An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf", + "grafeas/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.containeranalysis.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1;containeranalysis": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCA": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DevTools.ContainerAnalysis.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ContainerAnalysis\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ContainerAnalysis::V1": 1 + } + } + }, + "services": [ + { + "shortName": "ContainerAnalysis", + "fullName": "google.devtools.containeranalysis.v1.ContainerAnalysis", + "methods": [ + { + "shortName": "GetIamPolicy", + "fullName": "google.devtools.containeranalysis.v1.ContainerAnalysis.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/notes/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/occurrences/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetVulnerabilityOccurrencesSummary", + "fullName": "google.devtools.containeranalysis.v1.ContainerAnalysis.GetVulnerabilityOccurrencesSummary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/occurrences:vulnerabilitySummary" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.devtools.containeranalysis.v1.ContainerAnalysis.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/notes/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/occurrences/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.devtools.containeranalysis.v1.ContainerAnalysis.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/notes/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/occurrences/*}:testIamPermissions" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.containeranalysis.v1beta1", + "directory": "google/devtools/containeranalysis/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "containeranalysis.googleapis.com", + "title": "Container Analysis API", + "description": "An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.", + "importDirectories": [ + "google/api", + "google/devtools/containeranalysis/v1beta1/attestation", + "google/devtools/containeranalysis/v1beta1/build", + "google/devtools/containeranalysis/v1beta1/common", + "google/devtools/containeranalysis/v1beta1/cvss", + "google/devtools/containeranalysis/v1beta1/deployment", + "google/devtools/containeranalysis/v1beta1/discovery", + "google/devtools/containeranalysis/v1beta1/image", + "google/devtools/containeranalysis/v1beta1/package", + "google/devtools/containeranalysis/v1beta1/provenance", + "google/devtools/containeranalysis/v1beta1/source", + "google/devtools/containeranalysis/v1beta1/vulnerability", + "google/iam/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "io.grafeas.v1beta1.image": 1, + "io.grafeas.v1beta1.common": 1, + "io.grafeas.v1beta1.discovery": 1, + "io.grafeas.v1beta1.vulnerability": 2, + "io.grafeas.v1beta1.pkg": 1, + "io.grafeas.v1beta1.attestation": 1, + "io.grafeas.v1beta1.source": 1, + "io.grafeas.v1beta1.provenance": 1, + "io.grafeas.v1beta1.build": 1, + "io.grafeas.v1beta1.deployment": 1, + "io.grafeas.v1beta1": 1, + "com.google.containeranalysis.v1beta1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 13 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image;image": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common;common": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/cvss;cvss": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation;attestation": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source;source": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas;grafeas": 1, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1;containeranalysis": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GRA": 12, + "GCA": 1 + } + } + }, + "services": [ + { + "shortName": "ContainerAnalysisV1Beta1", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", + "methods": [ + { + "shortName": "GetIamPolicy", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/occurrences/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetScanConfig", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/scanConfigs/*}" + } + ] + }, + { + "shortName": "ListScanConfigs", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/scanConfigs" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/notes/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/occurrences/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/notes/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "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/*}" + } + ] + } + ] + }, + { + "shortName": "GrafeasV1Beta1", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1", + "methods": [ + { + "shortName": "BatchCreateNotes", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/notes:batchCreate" + } + ] + }, + { + "shortName": "BatchCreateOccurrences", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/occurrences:batchCreate" + } + ] + }, + { + "shortName": "CreateNote", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateNote", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/notes" + } + ] + }, + { + "shortName": "CreateOccurrence", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrence", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/occurrences" + } + ] + }, + { + "shortName": "DeleteNote", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteNote", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/notes/*}" + } + ] + }, + { + "shortName": "DeleteOccurrence", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrence", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/occurrences/*}" + } + ] + }, + { + "shortName": "GetNote", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetNote", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/notes/*}" + } + ] + }, + { + "shortName": "GetOccurrence", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrence", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/occurrences/*}" + } + ] + }, + { + "shortName": "GetOccurrenceNote", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNote", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/occurrences/*}/notes" + } + ] + }, + { + "shortName": "GetVulnerabilityOccurrencesSummary", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/occurrences:vulnerabilitySummary" + } + ] + }, + { + "shortName": "ListNoteOccurrences", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/notes/*}/occurrences" + } + ] + }, + { + "shortName": "ListNotes", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListNotes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/notes" + } + ] + }, + { + "shortName": "ListOccurrences", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.ListOccurrences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/occurrences" + } + ] + }, + { + "shortName": "UpdateNote", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateNote", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/notes/*}" + } + ] + }, + { + "shortName": "UpdateOccurrence", + "fullName": "grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrence", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/occurrences/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.remoteworkers.v1test2", + "directory": "google/devtools/remoteworkers/v1test2", + "version": "v1test2", + "majorVersion": "v1", + "hostName": "remoteworkers.googleapis.com", + "title": "Remote Workers API", + "description": "", + "importDirectories": [ + "google/api", + "google/devtools/remoteworkers/v1test2", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.remoteworkers.v1test2": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/remoteworkers/v1test2;remoteworkers": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RW": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.DevTools.RemoteWorkers.V1Test2": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Remoteworkers\\V1test2": 3 + } + } + }, + "services": [ + { + "shortName": "Bots", + "fullName": "google.devtools.remoteworkers.v1test2.Bots", + "methods": [ + { + "shortName": "CreateBotSession", + "fullName": "google.devtools.remoteworkers.v1test2.Bots.CreateBotSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1test2/{parent=**}/botSessions" + } + ] + }, + { + "shortName": "UpdateBotSession", + "fullName": "google.devtools.remoteworkers.v1test2.Bots.UpdateBotSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1test2/{name=**/botSessions/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.devtools.resultstore.v2", + "directory": "google/devtools/resultstore/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "resultstore.googleapis.com", + "title": "Result Store API", + "description": "The Result Store API v2.", + "importDirectories": [ + "google/api", + "google/devtools/resultstore/v2", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.devtools.resultstore.v2": 17 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 17 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/devtools/resultstore/v2;resultstore": 17 + } + } + }, + "services": [ + { + "shortName": "ResultStoreDownload", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload", + "methods": [ + { + "shortName": "BatchListActions", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.BatchListActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*}/actions:batchList" + } + ] + }, + { + "shortName": "ExportInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ExportInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=invocations/*}:export" + } + ] + }, + { + "shortName": "GetAction", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/targets/*/configuredTargets/*/actions/*}" + } + ] + }, + { + "shortName": "GetConfiguration", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetConfiguration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/configs/*}" + } + ] + }, + { + "shortName": "GetConfiguredTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetConfiguredTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/targets/*/configuredTargets/*}" + } + ] + }, + { + "shortName": "GetFileSet", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetFileSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/fileSets/*}" + } + ] + }, + { + "shortName": "GetInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*}" + } + ] + }, + { + "shortName": "GetInvocationDownloadMetadata", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetInvocationDownloadMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/downloadMetadata}" + } + ] + }, + { + "shortName": "GetTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.GetTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/targets/*}" + } + ] + }, + { + "shortName": "ListActions", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ListActions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*/targets/*/configuredTargets/*}/actions" + } + ] + }, + { + "shortName": "ListConfigurations", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ListConfigurations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*}/configs" + } + ] + }, + { + "shortName": "ListConfiguredTargets", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ListConfiguredTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*/targets/*}/configuredTargets" + } + ] + }, + { + "shortName": "ListFileSets", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ListFileSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*}/fileSets" + } + ] + }, + { + "shortName": "ListTargets", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.ListTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*}/targets" + } + ] + }, + { + "shortName": "SearchConfiguredTargets", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.SearchConfiguredTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=invocations/*/targets/*}/configuredTargets:search" + } + ] + }, + { + "shortName": "SearchInvocations", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.SearchInvocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/invocations:search" + } + ] + }, + { + "shortName": "TraverseFileSets", + "fullName": "google.devtools.resultstore.v2.ResultStoreDownload.TraverseFileSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/fileSets/*}:traverseFileSets" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/targets/*/configuredTargets/*/actions/*}:traverseFileSets" + } + ] + } + ] + }, + { + "shortName": "ResultStoreFileDownload", + "fullName": "google.devtools.resultstore.v2.ResultStoreFileDownload", + "methods": [ + { + "shortName": "GetFile", + "fullName": "google.devtools.resultstore.v2.ResultStoreFileDownload.GetFile", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{uri=file/*}" + } + ] + }, + { + "shortName": "GetFileTail", + "fullName": "google.devtools.resultstore.v2.ResultStoreFileDownload.GetFileTail", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{uri=file/tail/*}" + } + ] + } + ] + }, + { + "shortName": "ResultStoreUpload", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload", + "methods": [ + { + "shortName": "CreateAction", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*/targets/*/configuredTargets/*}/actions" + } + ] + }, + { + "shortName": "CreateConfiguration", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateConfiguration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*}/configs" + } + ] + }, + { + "shortName": "CreateConfiguredTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateConfiguredTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*/targets/*}/configuredTargets" + } + ] + }, + { + "shortName": "CreateFileSet", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateFileSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*}/fileSets" + } + ] + }, + { + "shortName": "CreateInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/invocations" + } + ] + }, + { + "shortName": "CreateTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.CreateTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*}/targets" + } + ] + }, + { + "shortName": "DeleteInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.DeleteInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=invocations/*}" + } + ] + }, + { + "shortName": "FinalizeConfiguredTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.FinalizeConfiguredTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=invocations/*/targets/*/configuredTargets/*}:finalize" + } + ] + }, + { + "shortName": "FinalizeInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.FinalizeInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=invocations/*}:finalize" + } + ] + }, + { + "shortName": "FinalizeTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.FinalizeTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=invocations/*/targets/*}:finalize" + } + ] + }, + { + "shortName": "GetInvocationUploadMetadata", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.GetInvocationUploadMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=invocations/*/uploadMetadata}" + } + ] + }, + { + "shortName": "MergeAction", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.MergeAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{action.name=invocations/*/targets/*/configuredTargets/*/actions/*}:merge" + } + ] + }, + { + "shortName": "MergeConfiguredTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.MergeConfiguredTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{configured_target.name=invocations/*/targets/*/configuredTargets/*}:merge" + } + ] + }, + { + "shortName": "MergeFileSet", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.MergeFileSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{file_set.name=invocations/*/fileSets/*}:merge" + } + ] + }, + { + "shortName": "MergeInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.MergeInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{invocation.name=invocations/*}:merge" + } + ] + }, + { + "shortName": "MergeTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.MergeTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{target.name=invocations/*/targets/*}:merge" + } + ] + }, + { + "shortName": "TouchInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.TouchInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=invocations/*}:touch" + } + ] + }, + { + "shortName": "UpdateAction", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateAction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{action.name=invocations/*/targets/*/configuredTargets/*/actions/*}" + } + ] + }, + { + "shortName": "UpdateConfiguration", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateConfiguration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{configuration.name=invocations/*/configs/*}" + } + ] + }, + { + "shortName": "UpdateConfiguredTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateConfiguredTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{configured_target.name=invocations/*/targets/*/configuredTargets/*}" + } + ] + }, + { + "shortName": "UpdateFileSet", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateFileSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{file_set.name=invocations/*/fileSets/*}" + } + ] + }, + { + "shortName": "UpdateInvocation", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateInvocation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{invocation.name=invocations/*}" + } + ] + }, + { + "shortName": "UpdateTarget", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UpdateTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{target.name=invocations/*/targets/*}" + } + ] + }, + { + "shortName": "UploadBatch", + "fullName": "google.devtools.resultstore.v2.ResultStoreUpload.UploadBatch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=invocations/*}/batch:upload" + } + ] + } + ] + } + ] + }, + { + "id": "google.firestore.admin.v1", + "directory": "google/firestore/admin/v1", + "version": "v1", + "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/admin/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.firestore.admin.v1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/firestore/admin/v1;admin": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCFS": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Firestore.Admin.V1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Firestore\\Admin\\V1": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Firestore::Admin::V1": 5 + } + } + }, + "services": [ + { + "shortName": "FirestoreAdmin", + "fullName": "google.firestore.admin.v1.FirestoreAdmin", + "methods": [ + { + "shortName": "CreateIndex", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes" + } + ] + }, + { + "shortName": "DeleteIndex", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}" + } + ] + }, + { + "shortName": "ExportDocuments", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ExportDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/databases/*}:exportDocuments" + } + ] + }, + { + "shortName": "GetField", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/databases/*/collectionGroups/*/fields/*}" + } + ] + }, + { + "shortName": "GetIndex", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.GetIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/databases/*/collectionGroups/*/indexes/*}" + } + ] + }, + { + "shortName": "ImportDocuments", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ImportDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/databases/*}:importDocuments" + } + ] + }, + { + "shortName": "ListFields", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListFields", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields" + } + ] + }, + { + "shortName": "ListIndexes", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.ListIndexes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes" + } + ] + }, + { + "shortName": "UpdateField", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.UpdateField", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{field.name=projects/*/databases/*/collectionGroups/*/fields/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.firestore.v1", + "directory": "google/firestore/v1", + "version": "v1", + "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/v1", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.firestore.v1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/firestore/v1;firestore": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCFS": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Firestore.V1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Firestore\\V1": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Firestore::V1": 5 + } + } + }, + "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}" + } + ] + }, + { + "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": "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" + } + ] + } + ] + } + ] + }, + { + "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": { + "java_package": { + "valueCounts": { + "com.google.firestore.v1beta1": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCFS": 5 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Firestore.V1Beta1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Firestore\\V1beta1": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Firestore::V1beta1": 5 + } + } + }, + "services": [ + { + "shortName": "Firestore", + "fullName": "google.firestore.v1beta1.Firestore", + "methods": [ + { + "shortName": "BatchGetDocuments", + "fullName": "google.firestore.v1beta1.Firestore.BatchGetDocuments", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:batchGet" + } + ] + }, + { + "shortName": "BatchWrite", + "fullName": "google.firestore.v1beta1.Firestore.BatchWrite", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:batchWrite" + } + ] + }, + { + "shortName": "BeginTransaction", + "fullName": "google.firestore.v1beta1.Firestore.BeginTransaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:beginTransaction" + } + ] + }, + { + "shortName": "Commit", + "fullName": "google.firestore.v1beta1.Firestore.Commit", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:commit" + } + ] + }, + { + "shortName": "CreateDocument", + "fullName": "google.firestore.v1beta1.Firestore.CreateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents/**}/{collection_id}" + } + ] + }, + { + "shortName": "DeleteDocument", + "fullName": "google.firestore.v1beta1.Firestore.DeleteDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "GetDocument", + "fullName": "google.firestore.v1beta1.Firestore.GetDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "ListCollectionIds", + "fullName": "google.firestore.v1beta1.Firestore.ListCollectionIds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents}:listCollectionIds" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds" + } + ] + }, + { + "shortName": "ListDocuments", + "fullName": "google.firestore.v1beta1.Firestore.ListDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}" + } + ] + }, + { + "shortName": "Listen", + "fullName": "google.firestore.v1beta1.Firestore.Listen", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:listen" + } + ] + }, + { + "shortName": "PartitionQuery", + "fullName": "google.firestore.v1beta1.Firestore.PartitionQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents}:partitionQuery" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}:partitionQuery" + } + ] + }, + { + "shortName": "Rollback", + "fullName": "google.firestore.v1beta1.Firestore.Rollback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:rollback" + } + ] + }, + { + "shortName": "RunQuery", + "fullName": "google.firestore.v1beta1.Firestore.RunQuery", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents}:runQuery" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/databases/*/documents/*/**}:runQuery" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.firestore.v1beta1.Firestore.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{document.name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "Write", + "fullName": "google.firestore.v1beta1.Firestore.Write", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{database=projects/*/databases/*}/documents:write" + } + ] + } + ] + } + ] + }, + { + "id": "google.home.enterprise.sdm.v1", + "directory": "google/home/enterprise/sdm/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "smartdevicemanagement.googleapis.com", + "title": "Smart Device Management API", + "description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.", + "importDirectories": [ + "google/api", + "google/home/enterprise/sdm/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.home.enterprise.sdm.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/home/enterprise/sdm/v1;sdm": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GHENTSDM": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Home.Enterprise.Sdm.V1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Home\\Enterprise\\Sdm\\V1": 3 + } + } + }, + "services": [ + { + "shortName": "SmartDeviceManagementService", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService", + "methods": [ + { + "shortName": "ExecuteDeviceCommand", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.ExecuteDeviceCommand", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=enterprises/*/devices/*}:executeCommand" + } + ] + }, + { + "shortName": "GetDevice", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.GetDevice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=enterprises/*/devices/*}" + } + ] + }, + { + "shortName": "GetRoom", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.GetRoom", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=enterprises/*/structures/*/rooms/*}" + } + ] + }, + { + "shortName": "GetStructure", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.GetStructure", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=enterprises/*/structures/*}" + } + ] + }, + { + "shortName": "ListDevices", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.ListDevices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=enterprises/*}/devices" + } + ] + }, + { + "shortName": "ListRooms", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.ListRooms", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=enterprises/*/structures/*}/rooms" + } + ] + }, + { + "shortName": "ListStructures", + "fullName": "google.home.enterprise.sdm.v1.SmartDeviceManagementService.ListStructures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=enterprises/*}/structures" + } + ] + } + ] + } + ] + }, + { + "id": "google.home.graph.v1", + "directory": "google/home/graph/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "homegraph.googleapis.com", + "title": "HomeGraph API", + "description": "", + "importDirectories": [ + "google/api", + "google/home/graph/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.home.graph.v1": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/home/graph/v1;graph": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Home\\Graph\\V1": 2 + } + } + }, + "services": [ + { + "shortName": "HomeGraphApiService", + "fullName": "google.home.graph.v1.HomeGraphApiService", + "methods": [ + { + "shortName": "DeleteAgentUser", + "fullName": "google.home.graph.v1.HomeGraphApiService.DeleteAgentUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{agent_user_id=agentUsers/**}" + } + ] + }, + { + "shortName": "Query", + "fullName": "google.home.graph.v1.HomeGraphApiService.Query", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/devices:query" + } + ] + }, + { + "shortName": "ReportStateAndNotification", + "fullName": "google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/devices:reportStateAndNotification" + } + ] + }, + { + "shortName": "RequestSyncDevices", + "fullName": "google.home.graph.v1.HomeGraphApiService.RequestSyncDevices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/devices:requestSync" + } + ] + }, + { + "shortName": "Sync", + "fullName": "google.home.graph.v1.HomeGraphApiService.Sync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/devices:sync" + } + ] + } + ] + } + ] + }, + { + "id": "google.iam.admin.v1", + "directory": "google/iam/admin/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "iam.googleapis.com", + "title": "Identity and Access Management (IAM) API", + "description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.iam.admin.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/iam/admin/v1;admin": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 1 + } + } + }, + "services": [ + { + "shortName": "IAM", + "fullName": "google.iam.admin.v1.IAM", + "methods": [ + { + "shortName": "CreateRole", + "fullName": "google.iam.admin.v1.IAM.CreateRole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/roles" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/roles" + } + ] + }, + { + "shortName": "CreateServiceAccount", + "fullName": "google.iam.admin.v1.IAM.CreateServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*}/serviceAccounts" + } + ] + }, + { + "shortName": "CreateServiceAccountKey", + "fullName": "google.iam.admin.v1.IAM.CreateServiceAccountKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}/keys" + } + ] + }, + { + "shortName": "DeleteRole", + "fullName": "google.iam.admin.v1.IAM.DeleteRole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/roles/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/roles/*}" + } + ] + }, + { + "shortName": "DeleteServiceAccount", + "fullName": "google.iam.admin.v1.IAM.DeleteServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/serviceAccounts/*}" + } + ] + }, + { + "shortName": "DeleteServiceAccountKey", + "fullName": "google.iam.admin.v1.IAM.DeleteServiceAccountKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/serviceAccounts/*/keys/*}" + } + ] + }, + { + "shortName": "DisableServiceAccount", + "fullName": "google.iam.admin.v1.IAM.DisableServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:disable" + } + ] + }, + { + "shortName": "EnableServiceAccount", + "fullName": "google.iam.admin.v1.IAM.EnableServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:enable" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.iam.admin.v1.IAM.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/serviceAccounts/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetRole", + "fullName": "google.iam.admin.v1.IAM.GetRole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=roles/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/roles/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/roles/*}" + } + ] + }, + { + "shortName": "GetServiceAccount", + "fullName": "google.iam.admin.v1.IAM.GetServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/serviceAccounts/*}" + } + ] + }, + { + "shortName": "GetServiceAccountKey", + "fullName": "google.iam.admin.v1.IAM.GetServiceAccountKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/serviceAccounts/*/keys/*}" + } + ] + }, + { + "shortName": "LintPolicy", + "fullName": "google.iam.admin.v1.IAM.LintPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/iamPolicies:lintPolicy" + } + ] + }, + { + "shortName": "ListRoles", + "fullName": "google.iam.admin.v1.IAM.ListRoles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/roles" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/roles" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/roles" + } + ] + }, + { + "shortName": "ListServiceAccountKeys", + "fullName": "google.iam.admin.v1.IAM.ListServiceAccountKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/serviceAccounts/*}/keys" + } + ] + }, + { + "shortName": "ListServiceAccounts", + "fullName": "google.iam.admin.v1.IAM.ListServiceAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*}/serviceAccounts" + } + ] + }, + { + "shortName": "PatchServiceAccount", + "fullName": "google.iam.admin.v1.IAM.PatchServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{service_account.name=projects/*/serviceAccounts/*}" + } + ] + }, + { + "shortName": "QueryAuditableServices", + "fullName": "google.iam.admin.v1.IAM.QueryAuditableServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/iamPolicies:queryAuditableServices" + } + ] + }, + { + "shortName": "QueryGrantableRoles", + "fullName": "google.iam.admin.v1.IAM.QueryGrantableRoles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/roles:queryGrantableRoles" + } + ] + }, + { + "shortName": "QueryTestablePermissions", + "fullName": "google.iam.admin.v1.IAM.QueryTestablePermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/permissions:queryTestablePermissions" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.iam.admin.v1.IAM.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/serviceAccounts/*}:setIamPolicy" + } + ] + }, + { + "shortName": "SignBlob", + "fullName": "google.iam.admin.v1.IAM.SignBlob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:signBlob" + } + ] + }, + { + "shortName": "SignJwt", + "fullName": "google.iam.admin.v1.IAM.SignJwt", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:signJwt" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.iam.admin.v1.IAM.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/serviceAccounts/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UndeleteRole", + "fullName": "google.iam.admin.v1.IAM.UndeleteRole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/roles/*}:undelete" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/roles/*}:undelete" + } + ] + }, + { + "shortName": "UndeleteServiceAccount", + "fullName": "google.iam.admin.v1.IAM.UndeleteServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:undelete" + } + ] + }, + { + "shortName": "UpdateRole", + "fullName": "google.iam.admin.v1.IAM.UpdateRole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=organizations/*/roles/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/roles/*}" + } + ] + }, + { + "shortName": "UpdateServiceAccount", + "fullName": "google.iam.admin.v1.IAM.UpdateServiceAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/serviceAccounts/*}" + } + ] + }, + { + "shortName": "UploadServiceAccountKey", + "fullName": "google.iam.admin.v1.IAM.UploadServiceAccountKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}/keys:upload" + } + ] + } + ] + } + ] + }, + { + "id": "google.iam.credentials.v1", + "directory": "google/iam/credentials/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "iamcredentials.googleapis.com", + "title": "IAM Service Account Credentials API", + "description": "Creates short-lived, limited-privilege credentials for IAM service accounts.", + "importDirectories": [ + "google/api", + "google/iam/credentials/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.cloud.iam.credentials.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/iam/credentials/v1;credentials": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Iam.Credentials.V1": 2 + } + } + }, + "services": [ + { + "shortName": "IAMCredentials", + "fullName": "google.iam.credentials.v1.IAMCredentials", + "methods": [ + { + "shortName": "GenerateAccessToken", + "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateAccessToken", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:generateAccessToken" + } + ] + }, + { + "shortName": "GenerateIdToken", + "fullName": "google.iam.credentials.v1.IAMCredentials.GenerateIdToken", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:generateIdToken" + } + ] + }, + { + "shortName": "SignBlob", + "fullName": "google.iam.credentials.v1.IAMCredentials.SignBlob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:signBlob" + } + ] + }, + { + "shortName": "SignJwt", + "fullName": "google.iam.credentials.v1.IAMCredentials.SignJwt", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/serviceAccounts/*}:signJwt" + } + ] + } + ] + } + ] + }, + { + "id": "google.iam.v1", + "directory": "google/iam/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "iam-meta-api.googleapis.com", + "title": "IAM Meta API", + "description": "Manages access control for Google Cloud Platform resources.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.iam.v1": 3, + "com.google.iam.v1.logging": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/iam/v1;iam": 3, + "google.golang.org/genproto/googleapis/iam/v1/logging;logging": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 3, + "": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Iam.V1": 3, + "Google.Cloud.Iam.V1.Logging": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Iam\\V1": 3, + "": 1 + } + } + }, + "services": [ + { + "shortName": "IAMPolicy", + "fullName": "google.iam.v1.IAMPolicy", + "methods": [ + { + "shortName": "GetIamPolicy", + "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=**}:getIamPolicy" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=**}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=**}:testIamPermissions" + } + ] + } + ] + } + ] + }, + { + "id": "google.iam.v1beta", + "directory": "google/iam/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "iam.googleapis.com", + "title": "Identity and Access Management (IAM) API", + "description": "

Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.

", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.iam.v1beta": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/iam/v1beta;iam": 1 + } + } + }, + "services": [ + { + "shortName": "WorkloadIdentityPools", + "fullName": "google.iam.v1beta.WorkloadIdentityPools", + "methods": [ + { + "shortName": "CreateWorkloadIdentityPool", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.CreateWorkloadIdentityPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/workloadIdentityPools" + } + ] + }, + { + "shortName": "CreateWorkloadIdentityPoolProvider", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.CreateWorkloadIdentityPoolProvider", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/workloadIdentityPools/*}/providers" + } + ] + }, + { + "shortName": "DeleteWorkloadIdentityPool", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.DeleteWorkloadIdentityPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}" + } + ] + }, + { + "shortName": "DeleteWorkloadIdentityPoolProvider", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.DeleteWorkloadIdentityPoolProvider", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}" + } + ] + }, + { + "shortName": "GetWorkloadIdentityPool", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.GetWorkloadIdentityPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}" + } + ] + }, + { + "shortName": "GetWorkloadIdentityPoolProvider", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.GetWorkloadIdentityPoolProvider", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}" + } + ] + }, + { + "shortName": "ListWorkloadIdentityPoolProviders", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.ListWorkloadIdentityPoolProviders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/workloadIdentityPools/*}/providers" + } + ] + }, + { + "shortName": "ListWorkloadIdentityPools", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.ListWorkloadIdentityPools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/workloadIdentityPools" + } + ] + }, + { + "shortName": "UndeleteWorkloadIdentityPool", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.UndeleteWorkloadIdentityPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*}:undelete" + } + ] + }, + { + "shortName": "UndeleteWorkloadIdentityPoolProvider", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.UndeleteWorkloadIdentityPoolProvider", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*}:undelete" + } + ] + }, + { + "shortName": "UpdateWorkloadIdentityPool", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.UpdateWorkloadIdentityPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{workload_identity_pool.name=projects/*/locations/*/workloadIdentityPools/*}" + } + ] + }, + { + "shortName": "UpdateWorkloadIdentityPoolProvider", + "fullName": "google.iam.v1beta.WorkloadIdentityPools.UpdateWorkloadIdentityPoolProvider", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{workload_identity_pool_provider.name=projects/*/locations/*/workloadIdentityPools/*/providers/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.logging.v2", + "directory": "google/logging/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "logging.googleapis.com", + "title": "Cloud Logging API", + "description": "Writes log entries and manages your Cloud Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the documentation at https://cloud.google.com/logging/docs.", + "importDirectories": [ + "google/api", + "google/logging/type", + "google/logging/v2", + "google/protobuf", + "google/rpc" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.logging.v2": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/logging/v2;logging": 4 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Logging.V2": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Logging\\V2": 4 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Logging::V2": 4 + } + } + }, + "services": [ + { + "shortName": "ConfigServiceV2", + "fullName": "google.logging.v2.ConfigServiceV2", + "methods": [ + { + "shortName": "CreateBucket", + "fullName": "google.logging.v2.ConfigServiceV2.CreateBucket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*/locations/*}/buckets" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/buckets" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/buckets" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*/locations/*}/buckets" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*/locations/*}/buckets" + } + ] + }, + { + "shortName": "CreateExclusion", + "fullName": "google.logging.v2.ConfigServiceV2.CreateExclusion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*}/exclusions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/exclusions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/exclusions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*}/exclusions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*}/exclusions" + } + ] + }, + { + "shortName": "CreateSink", + "fullName": "google.logging.v2.ConfigServiceV2.CreateSink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*}/sinks" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/sinks" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/sinks" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*}/sinks" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*}/sinks" + } + ] + }, + { + "shortName": "CreateView", + "fullName": "google.logging.v2.ConfigServiceV2.CreateView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/views" + } + ] + }, + { + "shortName": "DeleteBucket", + "fullName": "google.logging.v2.ConfigServiceV2.DeleteBucket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=*/*/locations/*/buckets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/buckets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/buckets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/locations/*/buckets/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*}" + } + ] + }, + { + "shortName": "DeleteExclusion", + "fullName": "google.logging.v2.ConfigServiceV2.DeleteExclusion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=*/*/exclusions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/exclusions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/exclusions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/exclusions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=billingAccounts/*/exclusions/*}" + } + ] + }, + { + "shortName": "DeleteSink", + "fullName": "google.logging.v2.ConfigServiceV2.DeleteSink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{sink_name=*/*/sinks/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{sink_name=projects/*/sinks/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{sink_name=organizations/*/sinks/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{sink_name=folders/*/sinks/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{sink_name=billingAccounts/*/sinks/*}" + } + ] + }, + { + "shortName": "DeleteView", + "fullName": "google.logging.v2.ConfigServiceV2.DeleteView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=*/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}" + } + ] + }, + { + "shortName": "GetBucket", + "fullName": "google.logging.v2.ConfigServiceV2.GetBucket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=*/*/locations/*/buckets/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/buckets/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/buckets/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/locations/*/buckets/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=billingAccounts/*/buckets/*}" + } + ] + }, + { + "shortName": "GetCmekSettings", + "fullName": "google.logging.v2.ConfigServiceV2.GetCmekSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=*/*}/cmekSettings" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*}/cmekSettings" + } + ] + }, + { + "shortName": "GetExclusion", + "fullName": "google.logging.v2.ConfigServiceV2.GetExclusion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=*/*/exclusions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/exclusions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/exclusions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/exclusions/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=billingAccounts/*/exclusions/*}" + } + ] + }, + { + "shortName": "GetSink", + "fullName": "google.logging.v2.ConfigServiceV2.GetSink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{sink_name=*/*/sinks/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{sink_name=projects/*/sinks/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{sink_name=organizations/*/sinks/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{sink_name=folders/*/sinks/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{sink_name=billingAccounts/*/sinks/*}" + } + ] + }, + { + "shortName": "GetView", + "fullName": "google.logging.v2.ConfigServiceV2.GetView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=*/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=billingAccounts/*/buckets/*/views/*}" + } + ] + }, + { + "shortName": "ListBuckets", + "fullName": "google.logging.v2.ConfigServiceV2.ListBuckets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*/locations/*}/buckets" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/buckets" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*}/buckets" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*/locations/*}/buckets" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*/locations/*}/buckets" + } + ] + }, + { + "shortName": "ListExclusions", + "fullName": "google.logging.v2.ConfigServiceV2.ListExclusions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*}/exclusions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/exclusions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/exclusions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/exclusions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*}/exclusions" + } + ] + }, + { + "shortName": "ListSinks", + "fullName": "google.logging.v2.ConfigServiceV2.ListSinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*}/sinks" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/sinks" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/sinks" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/sinks" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*}/sinks" + } + ] + }, + { + "shortName": "ListViews", + "fullName": "google.logging.v2.ConfigServiceV2.ListViews", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*/locations/*/buckets/*}/views" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/views" + } + ] + }, + { + "shortName": "UndeleteBucket", + "fullName": "google.logging.v2.ConfigServiceV2.UndeleteBucket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=*/*/locations/*/buckets/*}:undelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/buckets/*}:undelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=organizations/*/locations/*/buckets/*}:undelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=folders/*/locations/*/buckets/*}:undelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*}:undelete" + } + ] + }, + { + "shortName": "UpdateBucket", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucket", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=*/*/locations/*/buckets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/buckets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/buckets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=folders/*/locations/*/buckets/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*}" + } + ] + }, + { + "shortName": "UpdateCmekSettings", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateCmekSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=*/*}/cmekSettings" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*}/cmekSettings" + } + ] + }, + { + "shortName": "UpdateExclusion", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateExclusion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=*/*/exclusions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/exclusions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/exclusions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=folders/*/exclusions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=billingAccounts/*/exclusions/*}" + } + ] + }, + { + "shortName": "UpdateSink", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateSink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v2/{sink_name=*/*/sinks/*}" + }, + { + "httpMethod": "PUT", + "path": "/v2/{sink_name=projects/*/sinks/*}" + }, + { + "httpMethod": "PUT", + "path": "/v2/{sink_name=organizations/*/sinks/*}" + }, + { + "httpMethod": "PUT", + "path": "/v2/{sink_name=folders/*/sinks/*}" + }, + { + "httpMethod": "PUT", + "path": "/v2/{sink_name=billingAccounts/*/sinks/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{sink_name=projects/*/sinks/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{sink_name=organizations/*/sinks/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{sink_name=folders/*/sinks/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{sink_name=billingAccounts/*/sinks/*}" + } + ] + }, + { + "shortName": "UpdateView", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=*/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=folders/*/locations/*/buckets/*/views/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}" + } + ] + } + ] + }, + { + "shortName": "LoggingServiceV2", + "fullName": "google.logging.v2.LoggingServiceV2", + "methods": [ + { + "shortName": "DeleteLog", + "fullName": "google.logging.v2.LoggingServiceV2.DeleteLog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{log_name=projects/*/logs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{log_name=*/*/logs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{log_name=organizations/*/logs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{log_name=folders/*/logs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{log_name=billingAccounts/*/logs/*}" + } + ] + }, + { + "shortName": "ListLogEntries", + "fullName": "google.logging.v2.LoggingServiceV2.ListLogEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/entries:list" + } + ] + }, + { + "shortName": "ListLogs", + "fullName": "google.logging.v2.LoggingServiceV2.ListLogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*}/logs" + } + ] + }, + { + "shortName": "ListMonitoredResourceDescriptors", + "fullName": "google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/monitoredResourceDescriptors" + } + ] + }, + { + "shortName": "TailLogEntries", + "fullName": "google.logging.v2.LoggingServiceV2.TailLogEntries", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/entries:tail" + } + ] + }, + { + "shortName": "WriteLogEntries", + "fullName": "google.logging.v2.LoggingServiceV2.WriteLogEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/entries:write" + } + ] + } + ] + }, + { + "shortName": "MetricsServiceV2", + "fullName": "google.logging.v2.MetricsServiceV2", + "methods": [ + { + "shortName": "CreateLogMetric", + "fullName": "google.logging.v2.MetricsServiceV2.CreateLogMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/metrics" + } + ] + }, + { + "shortName": "DeleteLogMetric", + "fullName": "google.logging.v2.MetricsServiceV2.DeleteLogMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{metric_name=projects/*/metrics/*}" + } + ] + }, + { + "shortName": "GetLogMetric", + "fullName": "google.logging.v2.MetricsServiceV2.GetLogMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{metric_name=projects/*/metrics/*}" + } + ] + }, + { + "shortName": "ListLogMetrics", + "fullName": "google.logging.v2.MetricsServiceV2.ListLogMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/metrics" + } + ] + }, + { + "shortName": "UpdateLogMetric", + "fullName": "google.logging.v2.MetricsServiceV2.UpdateLogMetric", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v2/{metric_name=projects/*/metrics/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.maps.playablelocations.v3", + "directory": "google/maps/playablelocations/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "playablelocations.googleapis.com", + "title": "Playable Locations API", + "description": "", + "importDirectories": [ + "google/api", + "google/maps/playablelocations/v3", + "google/maps/playablelocations/v3/sample", + "google/maps/unity", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.maps.playablelocations.v3": 2, + "com.google.maps.playablelocations.v3.sample": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/maps/playablelocations/v3;playablelocations": 2, + "google.golang.org/genproto/googleapis/maps/playablelocations/v3/sample;sample": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GMPL": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Maps.PlayableLocations.V3": 2, + "Google.Maps.PlayableLocations.V3.Sample": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\PlayableLocations\\V3": 2, + "": 1 + } + } + }, + "services": [ + { + "shortName": "PlayableLocations", + "fullName": "google.maps.playablelocations.v3.PlayableLocations", + "methods": [ + { + "shortName": "LogImpressions", + "fullName": "google.maps.playablelocations.v3.PlayableLocations.LogImpressions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3:logImpressions" + } + ] + }, + { + "shortName": "LogPlayerReports", + "fullName": "google.maps.playablelocations.v3.PlayableLocations.LogPlayerReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3:logPlayerReports" + } + ] + }, + { + "shortName": "SamplePlayableLocations", + "fullName": "google.maps.playablelocations.v3.PlayableLocations.SamplePlayableLocations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3:samplePlayableLocations" + } + ] + } + ] + } + ] + }, + { + "id": "google.maps.roads.v1op", + "directory": "google/maps/roads/v1op", + "version": "v1op", + "majorVersion": "v1", + "hostName": "roads.googleapis.com", + "title": "Roads API", + "description": "Snap GPS points to roads to identify the roads a vehicle was traveling along, making up for GPS error.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.maps.roads.v1op": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/maps/roads/v1op;roads": 1 + } + } + }, + "services": [ + { + "shortName": "RoadsService", + "fullName": "google.maps.roads.v1op.RoadsService", + "methods": [ + { + "shortName": "ListNearestRoads", + "fullName": "google.maps.roads.v1op.RoadsService.ListNearestRoads", + "mode": "UNARY" + }, + { + "shortName": "SnapToRoads", + "fullName": "google.maps.roads.v1op.RoadsService.SnapToRoads", + "mode": "UNARY" + } + ] + } + ] + }, + { + "id": "google.maps.routes.v1", + "directory": "google/maps/routes/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "routespreferred.googleapis.com", + "title": "Routes Preferred API", + "description": "", + "importDirectories": [ + "google/api", + "google/geo/type", + "google/maps/routes/v1", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.maps.routes.v1": 14 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 14 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/maps/routes/v1;routes": 14 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 14 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GMRS": 14 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Maps.Routes.V1": 14 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\Routes\\V1": 14 + } + } + }, + "services": [ + { + "shortName": "RoutesPreferred", + "fullName": "google.maps.routes.v1.RoutesPreferred", + "methods": [ + { + "shortName": "ComputeRouteMatrix", + "fullName": "google.maps.routes.v1.RoutesPreferred.ComputeRouteMatrix", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1:computeRouteMatrix" + } + ] + }, + { + "shortName": "ComputeRoutes", + "fullName": "google.maps.routes.v1.RoutesPreferred.ComputeRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1:computeRoutes" + } + ] + } + ] + } + ] + }, + { + "id": "google.maps.routes.v1alpha", + "directory": "google/maps/routes/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "routespreferred.googleapis.com", + "title": "Routes Preferred API", + "description": "", + "importDirectories": [ + "google/api", + "google/maps/routes/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.maps.routes.v1alpha": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/maps/routes/v1alpha;routes": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GMRS": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Maps.Routes.V1Alpha": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\Routes\\V1alpha": 1 + } + } + }, + "services": [ + { + "shortName": "RoutesAlpha", + "fullName": "google.maps.routes.v1alpha.RoutesAlpha", + "methods": [ + { + "shortName": "ComputeCustomRoutes", + "fullName": "google.maps.routes.v1alpha.RoutesAlpha.ComputeCustomRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:computeCustomRoutes" + } + ] + }, + { + "shortName": "ComputeRouteMatrix", + "fullName": "google.maps.routes.v1alpha.RoutesAlpha.ComputeRouteMatrix", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:computeRouteMatrix" + } + ] + }, + { + "shortName": "ComputeRoutes", + "fullName": "google.maps.routes.v1alpha.RoutesAlpha.ComputeRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha:computeRoutes" + } + ] + } + ] + } + ] + }, + { + "id": "google.maps.routespreferred.v1", + "directory": "google/maps/routespreferred/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "routespreferred.googleapis.com", + "title": "Routes Preferred API", + "description": "" + }, + { + "id": "google.monitoring.dashboard.v1", + "directory": "google/monitoring/dashboard/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "monitoring.googleapis.com", + "title": "Cloud Monitoring API", + "description": "Manages your Cloud Monitoring data and configurations. Most projects must be associated with a Workspace, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the [Cloud Monitoring documentation](/monitoring/docs).", + "importDirectories": [ + "google/api", + "google/monitoring/dashboard/v1", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.monitoring.dashboard.v1": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 11 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard": 11 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Monitoring\\Dashboard\\V1": 11 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Monitoring::Dashboard::V1": 11 + } + } + }, + "services": [ + { + "shortName": "DashboardsService", + "fullName": "google.monitoring.dashboard.v1.DashboardsService", + "methods": [ + { + "shortName": "CreateDashboard", + "fullName": "google.monitoring.dashboard.v1.DashboardsService.CreateDashboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/dashboards" + } + ] + }, + { + "shortName": "DeleteDashboard", + "fullName": "google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/dashboards/*}" + } + ] + }, + { + "shortName": "GetDashboard", + "fullName": "google.monitoring.dashboard.v1.DashboardsService.GetDashboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/dashboards/*}" + } + ] + }, + { + "shortName": "ListDashboards", + "fullName": "google.monitoring.dashboard.v1.DashboardsService.ListDashboards", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/dashboards" + } + ] + }, + { + "shortName": "UpdateDashboard", + "fullName": "google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{dashboard.name=projects/*/dashboards/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.monitoring.v3", + "directory": "google/monitoring/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "monitoring.googleapis.com", + "title": "Cloud Monitoring API", + "description": "Manages your Cloud Monitoring data and configurations. Most projects must be associated with a Workspace, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the [Cloud Monitoring documentation](/monitoring/docs).", + "importDirectories": [ + "google/api", + "google/monitoring/v3", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.monitoring.v3": 17 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 17 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/monitoring/v3;monitoring": 17 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Monitoring.V3": 17 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Monitoring\\V3": 17 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Monitoring::V3": 17 + } + } + }, + "services": [ + { + "shortName": "AlertPolicyService", + "fullName": "google.monitoring.v3.AlertPolicyService", + "methods": [ + { + "shortName": "CreateAlertPolicy", + "fullName": "google.monitoring.v3.AlertPolicyService.CreateAlertPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/alertPolicies" + } + ] + }, + { + "shortName": "DeleteAlertPolicy", + "fullName": "google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/alertPolicies/*}" + } + ] + }, + { + "shortName": "GetAlertPolicy", + "fullName": "google.monitoring.v3.AlertPolicyService.GetAlertPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/alertPolicies/*}" + } + ] + }, + { + "shortName": "ListAlertPolicies", + "fullName": "google.monitoring.v3.AlertPolicyService.ListAlertPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/alertPolicies" + } + ] + }, + { + "shortName": "UpdateAlertPolicy", + "fullName": "google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{alert_policy.name=projects/*/alertPolicies/*}" + } + ] + } + ] + }, + { + "shortName": "GroupService", + "fullName": "google.monitoring.v3.GroupService", + "methods": [ + { + "shortName": "CreateGroup", + "fullName": "google.monitoring.v3.GroupService.CreateGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/groups" + } + ] + }, + { + "shortName": "DeleteGroup", + "fullName": "google.monitoring.v3.GroupService.DeleteGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/groups/*}" + } + ] + }, + { + "shortName": "GetGroup", + "fullName": "google.monitoring.v3.GroupService.GetGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/groups/*}" + } + ] + }, + { + "shortName": "ListGroupMembers", + "fullName": "google.monitoring.v3.GroupService.ListGroupMembers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/groups/*}/members" + } + ] + }, + { + "shortName": "ListGroups", + "fullName": "google.monitoring.v3.GroupService.ListGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/groups" + } + ] + }, + { + "shortName": "UpdateGroup", + "fullName": "google.monitoring.v3.GroupService.UpdateGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v3/{group.name=projects/*/groups/*}" + } + ] + } + ] + }, + { + "shortName": "MetricService", + "fullName": "google.monitoring.v3.MetricService", + "methods": [ + { + "shortName": "CreateMetricDescriptor", + "fullName": "google.monitoring.v3.MetricService.CreateMetricDescriptor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/metricDescriptors" + } + ] + }, + { + "shortName": "CreateTimeSeries", + "fullName": "google.monitoring.v3.MetricService.CreateTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/timeSeries" + } + ] + }, + { + "shortName": "DeleteMetricDescriptor", + "fullName": "google.monitoring.v3.MetricService.DeleteMetricDescriptor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/metricDescriptors/**}" + } + ] + }, + { + "shortName": "GetMetricDescriptor", + "fullName": "google.monitoring.v3.MetricService.GetMetricDescriptor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/metricDescriptors/**}" + } + ] + }, + { + "shortName": "GetMonitoredResourceDescriptor", + "fullName": "google.monitoring.v3.MetricService.GetMonitoredResourceDescriptor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/monitoredResourceDescriptors/**}" + } + ] + }, + { + "shortName": "ListMetricDescriptors", + "fullName": "google.monitoring.v3.MetricService.ListMetricDescriptors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/metricDescriptors" + } + ] + }, + { + "shortName": "ListMonitoredResourceDescriptors", + "fullName": "google.monitoring.v3.MetricService.ListMonitoredResourceDescriptors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/monitoredResourceDescriptors" + } + ] + }, + { + "shortName": "ListTimeSeries", + "fullName": "google.monitoring.v3.MetricService.ListTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/timeSeries" + }, + { + "httpMethod": "GET", + "path": "/v3/{name=organizations/*}/timeSeries" + }, + { + "httpMethod": "GET", + "path": "/v3/{name=folders/*}/timeSeries" + } + ] + } + ] + }, + { + "shortName": "NotificationChannelService", + "fullName": "google.monitoring.v3.NotificationChannelService", + "methods": [ + { + "shortName": "CreateNotificationChannel", + "fullName": "google.monitoring.v3.NotificationChannelService.CreateNotificationChannel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/notificationChannels" + } + ] + }, + { + "shortName": "DeleteNotificationChannel", + "fullName": "google.monitoring.v3.NotificationChannelService.DeleteNotificationChannel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/notificationChannels/*}" + } + ] + }, + { + "shortName": "GetNotificationChannel", + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/notificationChannels/*}" + } + ] + }, + { + "shortName": "GetNotificationChannelDescriptor", + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/notificationChannelDescriptors/*}" + } + ] + }, + { + "shortName": "GetNotificationChannelVerificationCode", + "fullName": "google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/notificationChannels/*}:getVerificationCode" + } + ] + }, + { + "shortName": "ListNotificationChannelDescriptors", + "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/notificationChannelDescriptors" + } + ] + }, + { + "shortName": "ListNotificationChannels", + "fullName": "google.monitoring.v3.NotificationChannelService.ListNotificationChannels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}/notificationChannels" + } + ] + }, + { + "shortName": "SendNotificationChannelVerificationCode", + "fullName": "google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/notificationChannels/*}:sendVerificationCode" + } + ] + }, + { + "shortName": "UpdateNotificationChannel", + "fullName": "google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{notification_channel.name=projects/*/notificationChannels/*}" + } + ] + }, + { + "shortName": "VerifyNotificationChannel", + "fullName": "google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*/notificationChannels/*}:verify" + } + ] + } + ] + }, + { + "shortName": "QueryService", + "fullName": "google.monitoring.v3.QueryService", + "methods": [ + { + "shortName": "QueryTimeSeries", + "fullName": "google.monitoring.v3.QueryService.QueryTimeSeries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}/timeSeries:query" + } + ] + } + ] + }, + { + "shortName": "ServiceMonitoringService", + "fullName": "google.monitoring.v3.ServiceMonitoringService", + "methods": [ + { + "shortName": "CreateService", + "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=*/*}/services" + } + ] + }, + { + "shortName": "CreateServiceLevelObjective", + "fullName": "google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjective", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=*/*/services/*}/serviceLevelObjectives" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=*/*/services/*}" + } + ] + }, + { + "shortName": "DeleteServiceLevelObjective", + "fullName": "google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjective", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=*/*/services/*/serviceLevelObjectives/*}" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.monitoring.v3.ServiceMonitoringService.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=*/*/services/*}" + } + ] + }, + { + "shortName": "GetServiceLevelObjective", + "fullName": "google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjective", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=*/*/services/*/serviceLevelObjectives/*}" + } + ] + }, + { + "shortName": "ListServiceLevelObjectives", + "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectives", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=*/*/services/*}/serviceLevelObjectives" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.monitoring.v3.ServiceMonitoringService.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=*/*}/services" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{service.name=*/*/services/*}" + } + ] + }, + { + "shortName": "UpdateServiceLevelObjective", + "fullName": "google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjective", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{service_level_objective.name=*/*/services/*/serviceLevelObjectives/*}" + } + ] + } + ] + }, + { + "shortName": "UptimeCheckService", + "fullName": "google.monitoring.v3.UptimeCheckService", + "methods": [ + { + "shortName": "CreateUptimeCheckConfig", + "fullName": "google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*}/uptimeCheckConfigs" + } + ] + }, + { + "shortName": "DeleteUptimeCheckConfig", + "fullName": "google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/uptimeCheckConfigs/*}" + } + ] + }, + { + "shortName": "GetUptimeCheckConfig", + "fullName": "google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/uptimeCheckConfigs/*}" + } + ] + }, + { + "shortName": "ListUptimeCheckConfigs", + "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*}/uptimeCheckConfigs" + } + ] + }, + { + "shortName": "ListUptimeCheckIps", + "fullName": "google.monitoring.v3.UptimeCheckService.ListUptimeCheckIps", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/uptimeCheckIps" + } + ] + }, + { + "shortName": "UpdateUptimeCheckConfig", + "fullName": "google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{uptime_check_config.name=projects/*/uptimeCheckConfigs/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.partner.aistreams.v1alpha1", + "directory": "google/partner/aistreams/v1alpha1", + "version": "v1alpha1", + "majorVersion": "v1", + "hostName": "aistreams.googleapis.com", + "title": "AI Streams API", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.partner.aistreams.v1alpha1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/partner/aistreams/v1alpha1;aistreams": 1 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Partner\\Aistreams\\V1alpha1": 1 + } + } + }, + "services": [ + { + "shortName": "AIStreams", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams", + "methods": [ + { + "shortName": "CreateCluster", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "CreateStream", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.CreateStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*/clusters/*}/streams" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "DeleteStream", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.DeleteStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/clusters/*/streams/*}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "GetStream", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.GetStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/clusters/*/streams/*}" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "ListStreams", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.ListStreams", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/clusters/*}/streams" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha1/{cluster.name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "UpdateStream", + "fullName": "google.partner.aistreams.v1alpha1.AIStreams.UpdateStream", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha1/{stream.name=projects/*/locations/*/clusters/*/streams/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.privacy.dlp.v2", + "directory": "google/privacy/dlp/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "dlp.googleapis.com", + "title": "Cloud Data Loss Prevention (DLP) API", + "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", + "google/privacy/dlp/v2", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.privacy.dlp.v2": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Dlp.V2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Dlp\\V2": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Dlp::V2": 2 + } + } + }, + "services": [ + { + "shortName": "DlpService", + "fullName": "google.privacy.dlp.v2.DlpService", + "methods": [ + { + "shortName": "ActivateJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.ActivateJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/jobTriggers/*}:activate" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/jobTriggers/*}:activate" + } + ] + }, + { + "shortName": "CancelDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.CancelDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/dlpJobs/*}:cancel" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/dlpJobs/*}:cancel" + } + ] + }, + { + "shortName": "CreateDeidentifyTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.CreateDeidentifyTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/deidentifyTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/deidentifyTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/deidentifyTemplates" + } + ] + }, + { + "shortName": "CreateDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.CreateDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/dlpJobs" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/dlpJobs" + } + ] + }, + { + "shortName": "CreateInspectTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.CreateInspectTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/inspectTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/inspectTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/inspectTemplates" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/inspectTemplates" + } + ] + }, + { + "shortName": "CreateJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.CreateJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/jobTriggers" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/jobTriggers" + } + ] + }, + { + "shortName": "CreateStoredInfoType", + "fullName": "google.privacy.dlp.v2.DlpService.CreateStoredInfoType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/storedInfoTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/storedInfoTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/storedInfoTypes" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/storedInfoTypes" + } + ] + }, + { + "shortName": "DeidentifyContent", + "fullName": "google.privacy.dlp.v2.DlpService.DeidentifyContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/content:deidentify" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/content:deidentify" + } + ] + }, + { + "shortName": "DeleteDeidentifyTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDeidentifyTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + } + ] + }, + { + "shortName": "DeleteDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/dlpJobs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } + ] + }, + { + "shortName": "DeleteInspectTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteInspectTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/inspectTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/inspectTemplates/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + } + ] + }, + { + "shortName": "DeleteJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/jobTriggers/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/jobTriggers/*}" + } + ] + }, + { + "shortName": "DeleteStoredInfoType", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteStoredInfoType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/storedInfoTypes/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + } + ] + }, + { + "shortName": "FinishDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.FinishDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/dlpJobs/*}:finish" + } + ] + }, + { + "shortName": "GetDeidentifyTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.GetDeidentifyTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + } + ] + }, + { + "shortName": "GetDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.GetDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/dlpJobs/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } + ] + }, + { + "shortName": "GetInspectTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.GetInspectTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/inspectTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/inspectTemplates/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + } + ] + }, + { + "shortName": "GetJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.GetJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/jobTriggers/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/jobTriggers/*}" + } + ] + }, + { + "shortName": "GetStoredInfoType", + "fullName": "google.privacy.dlp.v2.DlpService.GetStoredInfoType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/storedInfoTypes/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + } + ] + }, + { + "shortName": "HybridInspectDlpJob", + "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectDlpJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect" + } + ] + }, + { + "shortName": "HybridInspectJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.HybridInspectJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect" + } + ] + }, + { + "shortName": "InspectContent", + "fullName": "google.privacy.dlp.v2.DlpService.InspectContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/content:inspect" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/content:inspect" + } + ] + }, + { + "shortName": "ListDeidentifyTemplates", + "fullName": "google.privacy.dlp.v2.DlpService.ListDeidentifyTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/deidentifyTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/deidentifyTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/deidentifyTemplates" + } + ] + }, + { + "shortName": "ListDlpJobs", + "fullName": "google.privacy.dlp.v2.DlpService.ListDlpJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/dlpJobs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/dlpJobs" + } + ] + }, + { + "shortName": "ListInfoTypes", + "fullName": "google.privacy.dlp.v2.DlpService.ListInfoTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/infoTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=locations/*}/infoTypes" + } + ] + }, + { + "shortName": "ListInspectTemplates", + "fullName": "google.privacy.dlp.v2.DlpService.ListInspectTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/inspectTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*}/inspectTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/inspectTemplates" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/inspectTemplates" + } + ] + }, + { + "shortName": "ListJobTriggers", + "fullName": "google.privacy.dlp.v2.DlpService.ListJobTriggers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/jobTriggers" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/jobTriggers" + } + ] + }, + { + "shortName": "ListStoredInfoTypes", + "fullName": "google.privacy.dlp.v2.DlpService.ListStoredInfoTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/storedInfoTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*}/storedInfoTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/storedInfoTypes" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/storedInfoTypes" + } + ] + }, + { + "shortName": "RedactImage", + "fullName": "google.privacy.dlp.v2.DlpService.RedactImage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/image:redact" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/image:redact" + } + ] + }, + { + "shortName": "ReidentifyContent", + "fullName": "google.privacy.dlp.v2.DlpService.ReidentifyContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/content:reidentify" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/content:reidentify" + } + ] + }, + { + "shortName": "UpdateDeidentifyTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.UpdateDeidentifyTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/deidentifyTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" + } + ] + }, + { + "shortName": "UpdateInspectTemplate", + "fullName": "google.privacy.dlp.v2.DlpService.UpdateInspectTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/inspectTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/inspectTemplates/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/inspectTemplates/*}" + } + ] + }, + { + "shortName": "UpdateJobTrigger", + "fullName": "google.privacy.dlp.v2.DlpService.UpdateJobTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/jobTriggers/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/jobTriggers/*}" + } + ] + }, + { + "shortName": "UpdateStoredInfoType", + "fullName": "google.privacy.dlp.v2.DlpService.UpdateStoredInfoType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/storedInfoTypes/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.pubsub.v1", + "directory": "google/pubsub/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "pubsub.googleapis.com", + "title": "Cloud Pub/Sub API", + "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/pubsub/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.pubsub.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/pubsub/v1;pubsub": 2 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PubSub.V1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PubSub\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PubSub::V1": 2 + } + } + }, + "services": [ + { + "shortName": "Publisher", + "fullName": "google.pubsub.v1.Publisher", + "methods": [ + { + "shortName": "CreateTopic", + "fullName": "google.pubsub.v1.Publisher.CreateTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/topics/*}" + } + ] + }, + { + "shortName": "DeleteTopic", + "fullName": "google.pubsub.v1.Publisher.DeleteTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{topic=projects/*/topics/*}" + } + ] + }, + { + "shortName": "DetachSubscription", + "fullName": "google.pubsub.v1.Publisher.DetachSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:detach" + } + ] + }, + { + "shortName": "GetTopic", + "fullName": "google.pubsub.v1.Publisher.GetTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{topic=projects/*/topics/*}" + } + ] + }, + { + "shortName": "ListTopics", + "fullName": "google.pubsub.v1.Publisher.ListTopics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{project=projects/*}/topics" + } + ] + }, + { + "shortName": "ListTopicSnapshots", + "fullName": "google.pubsub.v1.Publisher.ListTopicSnapshots", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{topic=projects/*/topics/*}/snapshots" + } + ] + }, + { + "shortName": "ListTopicSubscriptions", + "fullName": "google.pubsub.v1.Publisher.ListTopicSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{topic=projects/*/topics/*}/subscriptions" + } + ] + }, + { + "shortName": "Publish", + "fullName": "google.pubsub.v1.Publisher.Publish", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{topic=projects/*/topics/*}:publish" + } + ] + }, + { + "shortName": "UpdateTopic", + "fullName": "google.pubsub.v1.Publisher.UpdateTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{topic.name=projects/*/topics/*}" + } + ] + } + ] + }, + { + "shortName": "SchemaService", + "fullName": "google.pubsub.v1.SchemaService", + "methods": [ + { + "shortName": "CreateSchema", + "fullName": "google.pubsub.v1.SchemaService.CreateSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/schemas" + } + ] + }, + { + "shortName": "DeleteSchema", + "fullName": "google.pubsub.v1.SchemaService.DeleteSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/schemas/*}" + } + ] + }, + { + "shortName": "GetSchema", + "fullName": "google.pubsub.v1.SchemaService.GetSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/schemas/*}" + } + ] + }, + { + "shortName": "ListSchemas", + "fullName": "google.pubsub.v1.SchemaService.ListSchemas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/schemas" + } + ] + }, + { + "shortName": "ValidateMessage", + "fullName": "google.pubsub.v1.SchemaService.ValidateMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/schemas:validateMessage" + } + ] + }, + { + "shortName": "ValidateSchema", + "fullName": "google.pubsub.v1.SchemaService.ValidateSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/schemas:validate" + } + ] + } + ] + }, + { + "shortName": "Subscriber", + "fullName": "google.pubsub.v1.Subscriber", + "methods": [ + { + "shortName": "Acknowledge", + "fullName": "google.pubsub.v1.Subscriber.Acknowledge", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge" + } + ] + }, + { + "shortName": "CreateSnapshot", + "fullName": "google.pubsub.v1.Subscriber.CreateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/snapshots/*}" + } + ] + }, + { + "shortName": "CreateSubscription", + "fullName": "google.pubsub.v1.Subscriber.CreateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{name=projects/*/subscriptions/*}" + } + ] + }, + { + "shortName": "DeleteSnapshot", + "fullName": "google.pubsub.v1.Subscriber.DeleteSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{snapshot=projects/*/snapshots/*}" + } + ] + }, + { + "shortName": "DeleteSubscription", + "fullName": "google.pubsub.v1.Subscriber.DeleteSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{subscription=projects/*/subscriptions/*}" + } + ] + }, + { + "shortName": "GetSnapshot", + "fullName": "google.pubsub.v1.Subscriber.GetSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{snapshot=projects/*/snapshots/*}" + } + ] + }, + { + "shortName": "GetSubscription", + "fullName": "google.pubsub.v1.Subscriber.GetSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{subscription=projects/*/subscriptions/*}" + } + ] + }, + { + "shortName": "ListSnapshots", + "fullName": "google.pubsub.v1.Subscriber.ListSnapshots", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{project=projects/*}/snapshots" + } + ] + }, + { + "shortName": "ListSubscriptions", + "fullName": "google.pubsub.v1.Subscriber.ListSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{project=projects/*}/subscriptions" + } + ] + }, + { + "shortName": "ModifyAckDeadline", + "fullName": "google.pubsub.v1.Subscriber.ModifyAckDeadline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline" + } + ] + }, + { + "shortName": "ModifyPushConfig", + "fullName": "google.pubsub.v1.Subscriber.ModifyPushConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig" + } + ] + }, + { + "shortName": "Pull", + "fullName": "google.pubsub.v1.Subscriber.Pull", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:pull" + } + ] + }, + { + "shortName": "Seek", + "fullName": "google.pubsub.v1.Subscriber.Seek", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{subscription=projects/*/subscriptions/*}:seek" + } + ] + }, + { + "shortName": "StreamingPull", + "fullName": "google.pubsub.v1.Subscriber.StreamingPull", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "UpdateSnapshot", + "fullName": "google.pubsub.v1.Subscriber.UpdateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{snapshot.name=projects/*/snapshots/*}" + } + ] + }, + { + "shortName": "UpdateSubscription", + "fullName": "google.pubsub.v1.Subscriber.UpdateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{subscription.name=projects/*/subscriptions/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.spanner.admin.database.v1", + "directory": "google/spanner/admin/database/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "spanner.googleapis.com", + "title": "Cloud Spanner Database Admin API", + "description": "", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/spanner/admin/database/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.spanner.admin.database.v1": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database": 3 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Spanner.Admin.Database.V1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Spanner\\Admin\\Database\\V1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Spanner::Admin::Database::V1": 3 + } + } + }, + "services": [ + { + "shortName": "DatabaseAdmin", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin", + "methods": [ + { + "shortName": "CreateBackup", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/instances/*}/backups" + } + ] + }, + { + "shortName": "CreateDatabase", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/instances/*}/databases" + } + ] + }, + { + "shortName": "DeleteBackup", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/instances/*/backups/*}" + } + ] + }, + { + "shortName": "DropDatabase", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{database=projects/*/instances/*/databases/*}" + } + ] + }, + { + "shortName": "GetBackup", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/instances/*/backups/*}" + } + ] + }, + { + "shortName": "GetDatabase", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/instances/*/databases/*}" + } + ] + }, + { + "shortName": "GetDatabaseDdl", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{database=projects/*/instances/*/databases/*}/ddl" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/databases/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/backups/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListBackupOperations", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/instances/*}/backupOperations" + } + ] + }, + { + "shortName": "ListBackups", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListBackups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/instances/*}/backups" + } + ] + }, + { + "shortName": "ListDatabaseOperations", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/instances/*}/databaseOperations" + } + ] + }, + { + "shortName": "ListDatabases", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/instances/*}/databases" + } + ] + }, + { + "shortName": "RestoreDatabase", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/instances/*}/databases:restore" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/databases/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/backups/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/databases/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*/backups/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateBackup", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{backup.name=projects/*/instances/*/backups/*}" + } + ] + }, + { + "shortName": "UpdateDatabaseDdl", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{database=projects/*/instances/*/databases/*}/ddl" + } + ] + } + ] + } + ] + }, + { + "id": "google.spanner.admin.instance.v1", + "directory": "google/spanner/admin/instance/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "spanner.googleapis.com", + "title": "Cloud Spanner Instance Admin API", + "description": "", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.spanner.admin.instance.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Spanner.Admin.Instance.V1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Spanner\\Admin\\Instance\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Spanner::Admin::Instance::V1": 1 + } + } + }, + "services": [ + { + "shortName": "InstanceAdmin", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin", + "methods": [ + { + "shortName": "CreateInstance", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/instances" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/instances/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstanceConfig", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/instanceConfigs/*}" + } + ] + }, + { + "shortName": "ListInstanceConfigs", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/instanceConfigs" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/instances" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/instances/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{instance.name=projects/*/instances/*}" + } + ] + } + ] + } + ] + }, + { + "id": "google.spanner.v1", + "directory": "google/spanner/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "spanner.googleapis.com", + "title": "Cloud Spanner API", + "description": "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc", + "google/spanner/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.spanner.v1": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/spanner/v1;spanner": 8 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Spanner.V1": 8 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Spanner\\V1": 8 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Spanner::V1": 8 + } + }, + "cc_enable_arenas": { + "valueCounts": { + "true": 1, + "": 7 + } + } + }, + "services": [ + { + "shortName": "Spanner", + "fullName": "google.spanner.v1.Spanner", + "methods": [ + { + "shortName": "BatchCreateSessions", + "fullName": "google.spanner.v1.Spanner.BatchCreateSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/instances/*/databases/*}/sessions:batchCreate" + } + ] + }, + { + "shortName": "BeginTransaction", + "fullName": "google.spanner.v1.Spanner.BeginTransaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:beginTransaction" + } + ] + }, + { + "shortName": "Commit", + "fullName": "google.spanner.v1.Spanner.Commit", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:commit" + } + ] + }, + { + "shortName": "CreateSession", + "fullName": "google.spanner.v1.Spanner.CreateSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/instances/*/databases/*}/sessions" + } + ] + }, + { + "shortName": "DeleteSession", + "fullName": "google.spanner.v1.Spanner.DeleteSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/instances/*/databases/*/sessions/*}" + } + ] + }, + { + "shortName": "ExecuteBatchDml", + "fullName": "google.spanner.v1.Spanner.ExecuteBatchDml", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeBatchDml" + } + ] + }, + { + "shortName": "ExecuteSql", + "fullName": "google.spanner.v1.Spanner.ExecuteSql", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeSql" + } + ] + }, + { + "shortName": "ExecuteStreamingSql", + "fullName": "google.spanner.v1.Spanner.ExecuteStreamingSql", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeStreamingSql" + } + ] + }, + { + "shortName": "GetSession", + "fullName": "google.spanner.v1.Spanner.GetSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/instances/*/databases/*/sessions/*}" + } + ] + }, + { + "shortName": "ListSessions", + "fullName": "google.spanner.v1.Spanner.ListSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{database=projects/*/instances/*/databases/*}/sessions" + } + ] + }, + { + "shortName": "PartitionQuery", + "fullName": "google.spanner.v1.Spanner.PartitionQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:partitionQuery" + } + ] + }, + { + "shortName": "PartitionRead", + "fullName": "google.spanner.v1.Spanner.PartitionRead", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:partitionRead" + } + ] + }, + { + "shortName": "Read", + "fullName": "google.spanner.v1.Spanner.Read", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:read" + } + ] + }, + { + "shortName": "Rollback", + "fullName": "google.spanner.v1.Spanner.Rollback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:rollback" + } + ] + }, + { + "shortName": "StreamingRead", + "fullName": "google.spanner.v1.Spanner.StreamingRead", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:streamingRead" + } + ] + } + ] + } + ] + }, + { + "id": "google.storage.v1", + "directory": "google/storage/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "storage.googleapis.com", + "title": "Cloud Storage API", + "description": "Lets you store and retrieve potentially-large, immutable data objects.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/protobuf", + "google/storage/v1" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.storage.v1": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/storage/v1;storage": 2 + } + } + }, + "services": [ + { + "shortName": "Storage", + "fullName": "google.storage.v1.Storage", + "methods": [ + { + "shortName": "ComposeObject", + "fullName": "google.storage.v1.Storage.ComposeObject", + "mode": "UNARY" + }, + { + "shortName": "CopyObject", + "fullName": "google.storage.v1.Storage.CopyObject", + "mode": "UNARY" + }, + { + "shortName": "CreateHmacKey", + "fullName": "google.storage.v1.Storage.CreateHmacKey", + "mode": "UNARY" + }, + { + "shortName": "DeleteBucket", + "fullName": "google.storage.v1.Storage.DeleteBucket", + "mode": "UNARY" + }, + { + "shortName": "DeleteBucketAccessControl", + "fullName": "google.storage.v1.Storage.DeleteBucketAccessControl", + "mode": "UNARY" + }, + { + "shortName": "DeleteDefaultObjectAccessControl", + "fullName": "google.storage.v1.Storage.DeleteDefaultObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "DeleteHmacKey", + "fullName": "google.storage.v1.Storage.DeleteHmacKey", + "mode": "UNARY" + }, + { + "shortName": "DeleteNotification", + "fullName": "google.storage.v1.Storage.DeleteNotification", + "mode": "UNARY" + }, + { + "shortName": "DeleteObject", + "fullName": "google.storage.v1.Storage.DeleteObject", + "mode": "UNARY" + }, + { + "shortName": "DeleteObjectAccessControl", + "fullName": "google.storage.v1.Storage.DeleteObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "GetBucket", + "fullName": "google.storage.v1.Storage.GetBucket", + "mode": "UNARY" + }, + { + "shortName": "GetBucketAccessControl", + "fullName": "google.storage.v1.Storage.GetBucketAccessControl", + "mode": "UNARY" + }, + { + "shortName": "GetBucketIamPolicy", + "fullName": "google.storage.v1.Storage.GetBucketIamPolicy", + "mode": "UNARY" + }, + { + "shortName": "GetDefaultObjectAccessControl", + "fullName": "google.storage.v1.Storage.GetDefaultObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "GetHmacKey", + "fullName": "google.storage.v1.Storage.GetHmacKey", + "mode": "UNARY" + }, + { + "shortName": "GetNotification", + "fullName": "google.storage.v1.Storage.GetNotification", + "mode": "UNARY" + }, + { + "shortName": "GetObject", + "fullName": "google.storage.v1.Storage.GetObject", + "mode": "UNARY" + }, + { + "shortName": "GetObjectAccessControl", + "fullName": "google.storage.v1.Storage.GetObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "GetObjectIamPolicy", + "fullName": "google.storage.v1.Storage.GetObjectIamPolicy", + "mode": "UNARY" + }, + { + "shortName": "GetObjectMedia", + "fullName": "google.storage.v1.Storage.GetObjectMedia", + "mode": "SERVER_STREAMING" + }, + { + "shortName": "GetServiceAccount", + "fullName": "google.storage.v1.Storage.GetServiceAccount", + "mode": "UNARY" + }, + { + "shortName": "InsertBucket", + "fullName": "google.storage.v1.Storage.InsertBucket", + "mode": "UNARY" + }, + { + "shortName": "InsertBucketAccessControl", + "fullName": "google.storage.v1.Storage.InsertBucketAccessControl", + "mode": "UNARY" + }, + { + "shortName": "InsertDefaultObjectAccessControl", + "fullName": "google.storage.v1.Storage.InsertDefaultObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "InsertNotification", + "fullName": "google.storage.v1.Storage.InsertNotification", + "mode": "UNARY" + }, + { + "shortName": "InsertObject", + "fullName": "google.storage.v1.Storage.InsertObject", + "mode": "CLIENT_STREAMING" + }, + { + "shortName": "InsertObjectAccessControl", + "fullName": "google.storage.v1.Storage.InsertObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "ListBucketAccessControls", + "fullName": "google.storage.v1.Storage.ListBucketAccessControls", + "mode": "UNARY" + }, + { + "shortName": "ListBuckets", + "fullName": "google.storage.v1.Storage.ListBuckets", + "mode": "UNARY" + }, + { + "shortName": "ListChannels", + "fullName": "google.storage.v1.Storage.ListChannels", + "mode": "UNARY" + }, + { + "shortName": "ListDefaultObjectAccessControls", + "fullName": "google.storage.v1.Storage.ListDefaultObjectAccessControls", + "mode": "UNARY" + }, + { + "shortName": "ListHmacKeys", + "fullName": "google.storage.v1.Storage.ListHmacKeys", + "mode": "UNARY" + }, + { + "shortName": "ListNotifications", + "fullName": "google.storage.v1.Storage.ListNotifications", + "mode": "UNARY" + }, + { + "shortName": "ListObjectAccessControls", + "fullName": "google.storage.v1.Storage.ListObjectAccessControls", + "mode": "UNARY" + }, + { + "shortName": "ListObjects", + "fullName": "google.storage.v1.Storage.ListObjects", + "mode": "UNARY" + }, + { + "shortName": "LockBucketRetentionPolicy", + "fullName": "google.storage.v1.Storage.LockBucketRetentionPolicy", + "mode": "UNARY" + }, + { + "shortName": "PatchBucket", + "fullName": "google.storage.v1.Storage.PatchBucket", + "mode": "UNARY" + }, + { + "shortName": "PatchBucketAccessControl", + "fullName": "google.storage.v1.Storage.PatchBucketAccessControl", + "mode": "UNARY" + }, + { + "shortName": "PatchDefaultObjectAccessControl", + "fullName": "google.storage.v1.Storage.PatchDefaultObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "PatchObject", + "fullName": "google.storage.v1.Storage.PatchObject", + "mode": "UNARY" + }, + { + "shortName": "PatchObjectAccessControl", + "fullName": "google.storage.v1.Storage.PatchObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "QueryWriteStatus", + "fullName": "google.storage.v1.Storage.QueryWriteStatus", + "mode": "UNARY" + }, + { + "shortName": "RewriteObject", + "fullName": "google.storage.v1.Storage.RewriteObject", + "mode": "UNARY" + }, + { + "shortName": "SetBucketIamPolicy", + "fullName": "google.storage.v1.Storage.SetBucketIamPolicy", + "mode": "UNARY" + }, + { + "shortName": "SetObjectIamPolicy", + "fullName": "google.storage.v1.Storage.SetObjectIamPolicy", + "mode": "UNARY" + }, + { + "shortName": "StartResumableWrite", + "fullName": "google.storage.v1.Storage.StartResumableWrite", + "mode": "UNARY" + }, + { + "shortName": "StopChannel", + "fullName": "google.storage.v1.Storage.StopChannel", + "mode": "UNARY" + }, + { + "shortName": "TestBucketIamPermissions", + "fullName": "google.storage.v1.Storage.TestBucketIamPermissions", + "mode": "UNARY" + }, + { + "shortName": "TestObjectIamPermissions", + "fullName": "google.storage.v1.Storage.TestObjectIamPermissions", + "mode": "UNARY" + }, + { + "shortName": "UpdateBucket", + "fullName": "google.storage.v1.Storage.UpdateBucket", + "mode": "UNARY" + }, + { + "shortName": "UpdateBucketAccessControl", + "fullName": "google.storage.v1.Storage.UpdateBucketAccessControl", + "mode": "UNARY" + }, + { + "shortName": "UpdateDefaultObjectAccessControl", + "fullName": "google.storage.v1.Storage.UpdateDefaultObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "UpdateHmacKey", + "fullName": "google.storage.v1.Storage.UpdateHmacKey", + "mode": "UNARY" + }, + { + "shortName": "UpdateObject", + "fullName": "google.storage.v1.Storage.UpdateObject", + "mode": "UNARY" + }, + { + "shortName": "UpdateObjectAccessControl", + "fullName": "google.storage.v1.Storage.UpdateObjectAccessControl", + "mode": "UNARY" + }, + { + "shortName": "WatchAllObjects", + "fullName": "google.storage.v1.Storage.WatchAllObjects", + "mode": "UNARY" + } + ] + } + ] + }, + { + "id": "google.streetview.publish.v1", + "directory": "google/streetview/publish/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "streetviewpublish.googleapis.com", + "title": "Street View Publish API", + "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/protobuf", + "google/rpc", + "google/streetview/publish/v1", + "google/type" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.geo.ugc.streetview.publish.v1": 3 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/streetview/publish/v1;publish": 3 + } + } + }, + "services": [ + { + "shortName": "StreetViewPublishService", + "fullName": "google.streetview.publish.v1.StreetViewPublishService", + "methods": [ + { + "shortName": "BatchDeletePhotos", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/photos:batchDelete" + } + ] + }, + { + "shortName": "BatchGetPhotos", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/photos:batchGet" + } + ] + }, + { + "shortName": "BatchUpdatePhotos", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/photos:batchUpdate" + } + ] + }, + { + "shortName": "CreatePhoto", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.CreatePhoto", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/photo" + } + ] + }, + { + "shortName": "DeletePhoto", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.DeletePhoto", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/photo/{photo_id}" + } + ] + }, + { + "shortName": "GetPhoto", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.GetPhoto", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/photo/{photo_id}" + } + ] + }, + { + "shortName": "ListPhotos", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.ListPhotos", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/photos" + } + ] + }, + { + "shortName": "StartUpload", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.StartUpload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/photo:startUpload" + } + ] + }, + { + "shortName": "UpdatePhoto", + "fullName": "google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/photo/{photo.photo_id.id}" + } + ] + } + ] + } + ] + }, + { + "id": "google.watcher.v1", + "directory": "google/watcher/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "watcher.googleapis.com", + "title": "Google Watcher API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "java_package": { + "valueCounts": { + "com.google.watcher.v1": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/watcher/v1;watcher": 1 + } + } + }, + "services": [ + { + "shortName": "Watcher", + "fullName": "google.watcher.v1.Watcher", + "methods": [ + { + "shortName": "Watch", + "fullName": "google.watcher.v1.Watcher.Watch", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/watch" + } + ] + } + ] + } + ] + } + ], + "metadata": { + "schemaVersion": "v1", + "schemaStability": "UNSTABLE" + } +} \ No newline at end of file diff --git a/third_party/googleapis/gapic/metadata/BUILD.bazel b/third_party/googleapis/gapic/metadata/BUILD.bazel index aab9ef0cf..5defebf6a 100644 --- a/third_party/googleapis/gapic/metadata/BUILD.bazel +++ b/third_party/googleapis/gapic/metadata/BUILD.bazel @@ -85,11 +85,12 @@ py_grpc_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/actions/sdk/v2/actions_gapic.yaml b/third_party/googleapis/google/actions/sdk/v2/actions_gapic.yaml deleted file mode 100644 index d63eedf6f..000000000 --- a/third_party/googleapis/google/actions/sdk/v2/actions_gapic.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - nodejs: - package_name: actions.sdk.v2 - domain_layer_location: assistant diff --git a/third_party/googleapis/google/actions/sdk/v2/actions_sdk.proto b/third_party/googleapis/google/actions/sdk/v2/actions_sdk.proto index 0cc329254..a145b2213 100644 --- a/third_party/googleapis/google/actions/sdk/v2/actions_sdk.proto +++ b/third_party/googleapis/google/actions/sdk/v2/actions_sdk.proto @@ -98,6 +98,13 @@ service ActionsSdk { }; } + // Lists all the sample projects supported by the gactions CLI. + rpc ListSampleProjects(ListSampleProjectsRequest) returns (ListSampleProjectsResponse) { + option (google.api.http) = { + get: "/v2/sampleProjects" + }; + } + // Lists all release channels and corresponding versions, if any. rpc ListReleaseChannels(ListReleaseChannelsRequest) returns (ListReleaseChannelsResponse) { option (google.api.http) = { @@ -321,6 +328,47 @@ message DecryptSecretResponse { string client_secret = 1; } +// RPC request for ListSampleProjects. +message ListSampleProjectsRequest { + // Optional. The maximum number of sample projects to return. The service may return + // fewer than this value. + // If unspecified, at most 1000 sample projects will be returned. Values above + // 1000 will be coerced to 1000. + int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous 'ListSampleProjects' call. + // Provide this to retrieve the subsequent page. + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// RPC response for ListSampleProjects. +message ListSampleProjectsResponse { + // The list of sample projects supported. + repeated SampleProject sample_projects = 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; +} + +// Definition of sample project resource. +message SampleProject { + option (google.api.resource) = { + type: "actions.googleapis.com/SampleProject" + pattern: "sampleProjects/{sample_project}" + }; + + // The name of the sample project. + // Format: `sampleProjects/{sample_project}` + string name = 1; + + // The URL to the zip file where the sample is hosted. + string hosted_url = 2; + + // The description of the sample project. + string description = 3; +} + // RPC request for listing release channels message ListReleaseChannelsRequest { // Required. The name of the resource in the format `projects/{project}`. The diff --git a/third_party/googleapis/google/actions/sdk/v2/config_file.proto b/third_party/googleapis/google/actions/sdk/v2/config_file.proto index 6e2beac0d..5fd2dae50 100644 --- a/third_party/googleapis/google/actions/sdk/v2/config_file.proto +++ b/third_party/googleapis/google/actions/sdk/v2/config_file.proto @@ -18,6 +18,7 @@ package google.actions.sdk.v2; import "google/actions/sdk/v2/account_linking_secret.proto"; import "google/actions/sdk/v2/action.proto"; +import "google/actions/sdk/v2/interactionmodel/entity_set.proto"; import "google/actions/sdk/v2/interactionmodel/global_intent_event.proto"; import "google/actions/sdk/v2/interactionmodel/intent.proto"; import "google/actions/sdk/v2/interactionmodel/prompt/static_prompt.proto"; @@ -79,6 +80,10 @@ message ConfigFile { // Allowed file paths: `custom/types/{language}?/{TypeName}.yaml` google.actions.sdk.v2.interactionmodel.type.Type type = 8; + // Single entity set definition. + // Allowed file paths: `custom/entitySets/{language}?/{EntitySetName}.yaml` + google.actions.sdk.v2.interactionmodel.EntitySet entity_set = 15; + // Single global intent event definition. // Allowed file paths: `custom/global/{GlobalIntentEventName}.yaml` // The file name (GlobalIntentEventName) should be the name of the intent diff --git a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/canvas.proto b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/canvas.proto index ca1f8c035..b99099b93 100644 --- a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/canvas.proto +++ b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/canvas.proto @@ -41,4 +41,10 @@ message Canvas { // Optional. Default value: false. bool suppress_mic = 3; + + // If `true` the canvas application occupies the full screen and won't + // have a header at the top. A toast message will also be displayed on the + // loading screen that includes the Action's display name, the developer's + // name, and instructions for exiting the Action. Default value: `false`. + bool enable_full_screen = 8; } 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 4312be43c..6c728656a 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel @@ -12,6 +12,7 @@ proto_library( name = "interactionmodel_proto", srcs = [ "conditional_event.proto", + "entity_set.proto", "event_handler.proto", "global_intent_event.proto", "intent.proto", diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/entity_set.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/entity_set.proto new file mode 100644 index 000000000..2ec47cd90 --- /dev/null +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/entity_set.proto @@ -0,0 +1,41 @@ +// 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.actions.sdk.v2.interactionmodel; + +import "google/api/field_behavior.proto"; + +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel;interactionmodel"; +option java_multiple_files = true; +option java_outer_classname = "EntitySetProto"; +option java_package = "com.google.actions.sdk.v2.interactionmodel"; + +// Entity sets describe the pre-defined set of entities that the values of +// built-in intent parameters can come from. Entity sets can be referenced from +// entity_set in built-in intent parameters. +message EntitySet { + // An entity a built-in intent parameter value can come from. + message Entity { + // Required. The ID of the entity. + // For a list of built-in-intent parameters and their supported entities, + // see + // https://developers.google.com/assistant/conversational/build/built-in-intents + string id = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. The list of entities this entity set supports. + repeated Entity entities = 1 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/intent.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/intent.proto index 1d64ce775..8ed8d0401 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/intent.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/intent.proto @@ -32,6 +32,20 @@ option java_package = "com.google.actions.sdk.v2.interactionmodel"; message Intent { // Definition of a parameter which can be used inside training phrases. message IntentParameter { + // Entity set references for an intent parameter. + message EntitySetReferences { + // A reference to the set of allowed entities for this intent parameter. + message EntitySetReference { + // Required. Identifies the specific collection of entities to be considered for a + // given parameter. The corresponding entity set definition should be + // present in the custom/entitySets/ directory. + string entity_set = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. Entity set references for an intent parameter. + repeated EntitySetReference entity_set_references = 1 [(google.api.field_behavior) = REQUIRED]; + } + // Required. Unique name of the intent parameter. Can be used in conditions and // responses to reference intent parameters extracted by NLU with // $intent.params.[name].resolved @@ -42,6 +56,11 @@ message Intent { // Optional. Declares the data type of this parameter. // This should not be set for built-in intents. google.actions.sdk.v2.interactionmodel.type.ClassReference type = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. References to the sets of allowed entities for this intent parameter. + // Only valid for parameters of a built-in intent. These + // references point to entity sets in the 'custom/entitySets' directory. + EntitySetReferences entity_set_references = 3 [(google.api.field_behavior) = OPTIONAL]; } } diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.proto index 8d4ca5818..6c0e53015 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.proto @@ -46,4 +46,10 @@ message StaticCanvasPrompt { // Optional. If `true`, conversation related metadata is included and send back to the // canvas application. bool send_state_data_to_canvas_app = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If `true` the canvas application occupies the full screen and won't + // have a header at the top. A toast message will also be displayed on the + // loading screen that includes the Action's display name, the developer's + // name, and instructions for exiting the Action. Default value: `false`. + bool enable_full_screen = 6 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto index 982a2dec1..4c6d43d79 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/static_media_prompt.proto @@ -51,6 +51,19 @@ message StaticMediaPrompt { STOPPED = 2; } + // The types of repeat mode for a list of media objects. + enum RepeatMode { + // Equivalent to OFF. + REPEAT_MODE_UNSPECIFIED = 0; + + // End media session at the end of the last media object. + OFF = 1; + + // Loop to the beginning of the first media object when the end of the last + // media object is reached. + ALL = 2; + } + // Media type of this response. MediaType media_type = 8; @@ -65,6 +78,9 @@ message StaticMediaPrompt { // List of media objects. repeated MediaObject media_objects = 7; + + // Repeat mode for the list of Media Objects. + RepeatMode repeat_mode = 9; } // Represents a single media object. diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/class_reference.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/class_reference.proto index 496b3c9a3..f06fead32 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/class_reference.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/class_reference.proto @@ -18,7 +18,7 @@ package google.actions.sdk.v2.interactionmodel.type; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "ClassReferenceProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/entity_display.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/entity_display.proto index 6a292220a..92a66481b 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/entity_display.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/entity_display.proto @@ -18,7 +18,7 @@ package google.actions.sdk.v2.interactionmodel.type; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "EntityDisplayProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/free_text_type.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/free_text_type.proto index f35c6b096..dee041b38 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/free_text_type.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/free_text_type.proto @@ -19,7 +19,7 @@ package google.actions.sdk.v2.interactionmodel.type; import "google/actions/sdk/v2/interactionmodel/type/entity_display.proto"; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "FreeTextTypeProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/regular_expression_type.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/regular_expression_type.proto index 2c0af7a61..718a46c19 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/regular_expression_type.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/regular_expression_type.proto @@ -19,7 +19,7 @@ package google.actions.sdk.v2.interactionmodel.type; import "google/actions/sdk/v2/interactionmodel/type/entity_display.proto"; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "RegularExpressionTypeProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/synonym_type.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/synonym_type.proto index bdca11898..a64bba07c 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/synonym_type.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/synonym_type.proto @@ -19,7 +19,7 @@ package google.actions.sdk.v2.interactionmodel.type; import "google/actions/sdk/v2/interactionmodel/type/entity_display.proto"; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "SynonymTypeProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/type.proto b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/type.proto index 8b4bc3f32..80140bb35 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/type.proto +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/type.proto @@ -20,7 +20,7 @@ import "google/actions/sdk/v2/interactionmodel/type/free_text_type.proto"; import "google/actions/sdk/v2/interactionmodel/type/regular_expression_type.proto"; import "google/actions/sdk/v2/interactionmodel/type/synonym_type.proto"; -option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type;type"; +option go_package = "google.golang.org/genproto/googleapis/actions/sdk/v2/interactionmodel/type"; option java_multiple_files = true; option java_outer_classname = "TypeProto"; option java_package = "com.google.actions.sdk.v2.interactionmodel.type"; diff --git a/third_party/googleapis/google/actions/sdk/v2/localized_settings.proto b/third_party/googleapis/google/actions/sdk/v2/localized_settings.proto index ef5bb8e4b..7a1f44c9d 100644 --- a/third_party/googleapis/google/actions/sdk/v2/localized_settings.proto +++ b/third_party/googleapis/google/actions/sdk/v2/localized_settings.proto @@ -46,18 +46,18 @@ message LocalizedSettings { // Required. Small square image, 192 x 192 px. // This should be specified as a reference to the corresponding image in the - // `resources/images/` directory. Eg: `$resources.images.foo` (without the + // `resources/images/` directory. For example, `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console the Google managed url pulled - // could be used. + // When working on a project pulled from Console, the Google-managed URL + // pulled could be used. URLs from external sources are not allowed. string small_logo_image = 5 [(google.api.field_behavior) = REQUIRED]; // Optional. Large landscape image, 1920 x 1080 px. // This should be specified as a reference to the corresponding image in the - // `resources/images/` directory. Eg: `$resources.images.foo` (without the + // `resources/images/` directory. For example, `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console the Google managed url pulled - // could be used. + // When working on a project pulled from Console, the Google-managed URL + // pulled could be used. URLs from external sources are not allowed. string large_banner_image = 6 [(google.api.field_behavior) = OPTIONAL]; // Required. The name of the developer to be displayed to users. diff --git a/third_party/googleapis/google/actions/sdk/v2/theme_customization.proto b/third_party/googleapis/google/actions/sdk/v2/theme_customization.proto index d4b21e3f0..dc7623c30 100644 --- a/third_party/googleapis/google/actions/sdk/v2/theme_customization.proto +++ b/third_party/googleapis/google/actions/sdk/v2/theme_customization.proto @@ -69,15 +69,15 @@ message ThemeCustomization { // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console, the Google-managed URL - // pulled could be used. URLs from external sources are not allowed. + // When working on a project pulled from Console the Google managed url pulled + // could be used. string landscape_background_image = 5; // Portrait mode (minimum 1200x1920 pixels). // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console, the Google-managed URL - // pulled could be used. URLs from external sources are not allowed. + // When working on a project pulled from Console the Google managed url pulled + // could be used. string portrait_background_image = 6; } diff --git a/third_party/googleapis/google/actions/type/BUILD.bazel b/third_party/googleapis/google/actions/type/BUILD.bazel index d865c47c4..f3e63f838 100644 --- a/third_party/googleapis/google/actions/type/BUILD.bazel +++ b/third_party/googleapis/google/actions/type/BUILD.bazel @@ -87,10 +87,11 @@ py_proto_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_proto_library", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/ads/admob/v1/BUILD.bazel b/third_party/googleapis/google/ads/admob/v1/BUILD.bazel index 419b76acb..530d26eba 100644 --- a/third_party/googleapis/google/ads/admob/v1/BUILD.bazel +++ b/third_party/googleapis/google/ads/admob/v1/BUILD.bazel @@ -29,8 +29,8 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", - "//google/type:date_proto", "//google/cloud:common_resources_proto", + "//google/type:date_proto", ], ) @@ -46,11 +46,11 @@ proto_library_with_info( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", - "java_proto_library", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", + "java_grpc_library", + "java_proto_library", ) java_proto_library( @@ -67,7 +67,7 @@ java_grpc_library( java_gapic_library( name = "admob_java_gapic", srcs = [ - ":admob_proto_with_info" + ":admob_proto_with_info", ], gapic_yaml = "admob_gapic.yaml", grpc_service_config = "//google/ads/admob:admob_grpc_service_config.json", @@ -153,10 +153,10 @@ go_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "py_grpc_library", - "py_proto_library", "py_gapic_assembly_pkg", "py_gapic_library", + "py_grpc_library", + "py_proto_library", ) py_proto_library( @@ -173,7 +173,7 @@ py_grpc_library( py_gapic_library( name = "admob_py_gapic", srcs = [ - ":admob_proto_with_info" + ":admob_proto_with_info", ], ) @@ -192,29 +192,28 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + "php_gapic_assembly_pkg2", + "php_gapic_library2", + "php_grpc_library2", + "php_proto_library2", ) -php_proto_library( +php_proto_library2( name = "admob_php_proto", deps = [":admob_proto"], ) -php_grpc_library( +php_grpc_library2( name = "admob_php_grpc", srcs = [":admob_proto"], deps = [":admob_php_proto"], ) -php_gapic_library( +php_gapic_library2( name = "admob_php_gapic", - src = ":admob_proto_with_info", + srcs = [":admob_proto"], gapic_yaml = "admob_gapic.yaml", grpc_service_config = None, - package = "google.ads.admob.v1", service_yaml = "//google/ads/admob:admob_v1.yaml", deps = [ ":admob_php_grpc", @@ -223,7 +222,7 @@ php_gapic_library( ) # Open Source Packages -php_gapic_assembly_pkg( +php_gapic_assembly_pkg2( name = "google-ads-admob-v1-php", deps = [ ":admob_php_gapic", @@ -265,7 +264,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -281,13 +280,11 @@ ruby_grpc_library( deps = [":admob_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "admob_ruby_gapic", - src = ":admob_proto_with_info", - gapic_yaml = "admob_gapic.yaml", + srcs = [":admob_proto_with_info",], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-admob-v1"], grpc_service_config = None, - package = "google.ads.admob.v1", - service_yaml = "//google/ads/admob:admob_v1.yaml", deps = [ ":admob_ruby_grpc", ":admob_ruby_proto", diff --git a/third_party/googleapis/google/ads/googleads/v4/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v4/BUILD.bazel index 5361d672b..4dc215cfe 100644 --- a/third_party/googleapis/google/ads/googleads/v4/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v4/BUILD.bazel @@ -42,7 +42,7 @@ proto_library_with_info( ) ############################################################################## -# Java (gapic-generator-java) +# Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -92,52 +92,7 @@ java_gapic_assembly_gradle_pkg( ) ############################################################################## -# PHP (gapic-generator, GAPICv2) -############################################################################## -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_mono_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_mono_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_mono_proto"], -) - -php_gapic_library( - name = "googleads_php_mono_gapic", - src = ":googleads_proto_with_info", - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - package = "google.ads.googleads.v4", - service_yaml = "googleads_v4.yaml", - deps = [ - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php-mono", - deps = [ - ":googleads_php_mono_gapic", - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -############################################################################## -# PHP (gapic-generator-php) +# PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -148,35 +103,35 @@ load( ) php_proto_library2( - name = "googleads_php_micro_proto", + name = "googleads_php_proto", plugin_args = ["aggregate_metadata=google.ads.googleads"], deps = [":googleads_proto"], ) php_grpc_library2( - name = "googleads_php_micro_grpc", + name = "googleads_php_grpc", srcs = [":googleads_proto"], - deps = [":googleads_php_micro_proto"], + deps = [":googleads_php_proto"], ) php_gapic_library2( - name = "googleads_php_micro_gapic", + name = "googleads_php_gapic", srcs = [":googleads_proto"], gapic_yaml = "googleads_gapic.yaml", grpc_service_config = "googleads_grpc_service_config.json", service_yaml = "googleads_v4.yaml", deps = [ - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) php_gapic_assembly_pkg2( - name = "googleads-php-micro", + name = "googleads-php", deps = [ - ":googleads_php_micro_gapic", - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_gapic", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) @@ -191,6 +146,7 @@ csharp_gapic_library( srcs = [ ":googleads_proto_with_info", ], + grpc_service_config = "googleads_grpc_service_config.json", deps = [ "//google/ads/googleads/v4/services:services_csharp_grpc", ], @@ -243,7 +199,7 @@ ruby_gapic_assembly_pkg( ) ############################################################################## -# Python (gapic-generator-python) +# Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", diff --git a/third_party/googleapis/google/ads/googleads/v5/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v5/BUILD.bazel index 7c2903d93..527583933 100644 --- a/third_party/googleapis/google/ads/googleads/v5/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v5/BUILD.bazel @@ -42,7 +42,7 @@ proto_library_with_info( ) ############################################################################## -# Java (gapic-generator-java) +# Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -92,52 +92,7 @@ java_gapic_assembly_gradle_pkg( ) ############################################################################## -# PHP (gapic-generator, GAPICv2) -############################################################################## -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_mono_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_mono_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_mono_proto"], -) - -php_gapic_library( - name = "googleads_php_mono_gapic", - src = ":googleads_proto_with_info", - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - package = "google.ads.googleads.v5", - service_yaml = "googleads_v5.yaml", - deps = [ - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php-mono", - deps = [ - ":googleads_php_mono_gapic", - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -############################################################################## -# PHP (gapic-generator-php) +# PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -148,35 +103,35 @@ load( ) php_proto_library2( - name = "googleads_php_micro_proto", + name = "googleads_php_proto", plugin_args = ["aggregate_metadata=google.ads.googleads"], deps = [":googleads_proto"], ) php_grpc_library2( - name = "googleads_php_micro_grpc", + name = "googleads_php_grpc", srcs = [":googleads_proto"], - deps = [":googleads_php_micro_proto"], + deps = [":googleads_php_proto"], ) php_gapic_library2( - name = "googleads_php_micro_gapic", + name = "googleads_php_gapic", srcs = [":googleads_proto"], gapic_yaml = "googleads_gapic.yaml", grpc_service_config = "googleads_grpc_service_config.json", service_yaml = "googleads_v5.yaml", deps = [ - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) php_gapic_assembly_pkg2( - name = "googleads-php-micro", + name = "googleads-php", deps = [ - ":googleads_php_micro_gapic", - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_gapic", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) @@ -191,6 +146,7 @@ csharp_gapic_library( srcs = [ ":googleads_proto_with_info", ], + grpc_service_config = "googleads_grpc_service_config.json", deps = [ "//google/ads/googleads/v5/services:services_csharp_grpc", ], @@ -243,7 +199,7 @@ ruby_gapic_assembly_pkg( ) ############################################################################## -# Python (gapic-generator-python) +# Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", diff --git a/third_party/googleapis/google/ads/googleads/v6/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v6/BUILD.bazel index 3f89da238..d46709f16 100644 --- a/third_party/googleapis/google/ads/googleads/v6/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v6/BUILD.bazel @@ -42,7 +42,7 @@ proto_library_with_info( ) ############################################################################## -# Java (gapic-generator-java) +# Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -92,52 +92,7 @@ java_gapic_assembly_gradle_pkg( ) ############################################################################## -# PHP (gapic-generator, GAPICv2) -############################################################################## -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_mono_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_mono_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_mono_proto"], -) - -php_gapic_library( - name = "googleads_php_mono_gapic", - src = ":googleads_proto_with_info", - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - package = "google.ads.googleads.v6", - service_yaml = "googleads_v6.yaml", - deps = [ - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php-mono", - deps = [ - ":googleads_php_mono_gapic", - ":googleads_php_mono_grpc", - ":googleads_php_mono_proto", - ], -) - -############################################################################## -# PHP (gapic-generator-php) +# PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", @@ -148,35 +103,35 @@ load( ) php_proto_library2( - name = "googleads_php_micro_proto", + name = "googleads_php_proto", plugin_args = ["aggregate_metadata=google.ads.googleads"], deps = [":googleads_proto"], ) php_grpc_library2( - name = "googleads_php_micro_grpc", + name = "googleads_php_grpc", srcs = [":googleads_proto"], - deps = [":googleads_php_micro_proto"], + deps = [":googleads_php_proto"], ) php_gapic_library2( - name = "googleads_php_micro_gapic", + name = "googleads_php_gapic", srcs = [":googleads_proto"], gapic_yaml = "googleads_gapic.yaml", grpc_service_config = "googleads_grpc_service_config.json", service_yaml = "googleads_v6.yaml", deps = [ - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) php_gapic_assembly_pkg2( - name = "googleads-php-micro", + name = "googleads-php", deps = [ - ":googleads_php_micro_gapic", - ":googleads_php_micro_grpc", - ":googleads_php_micro_proto", + ":googleads_php_gapic", + ":googleads_php_grpc", + ":googleads_php_proto", ], ) @@ -191,6 +146,7 @@ csharp_gapic_library( srcs = [ ":googleads_proto_with_info", ], + grpc_service_config = "googleads_grpc_service_config.json", deps = [ "//google/ads/googleads/v6/services:services_csharp_grpc", ], @@ -243,7 +199,7 @@ ruby_gapic_assembly_pkg( ) ############################################################################## -# Python (gapic-generator-python) +# Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", diff --git a/third_party/googleapis/google/ads/googleads/v7/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/BUILD.bazel new file mode 100644 index 000000000..b9be25b62 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/BUILD.bazel @@ -0,0 +1,262 @@ +# 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/v7/common:common_proto", + "//google/ads/googleads/v7/enums:enums_proto", + "//google/ads/googleads/v7/errors:errors_proto", + "//google/ads/googleads/v7/resources:resources_proto", + "//google/ads/googleads/v7/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/v7/common:common_java_proto", + "//google/ads/googleads/v7/enums:enums_java_proto", + "//google/ads/googleads/v7/resources:resources_java_proto", + "//google/ads/googleads/v7/services:services_java_grpc", + "//google/ads/googleads/v7/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.v7.services.CampaignServiceClientTest", + ], + runtime_deps = [":googleads_java_gapic_test"], +) + +java_gapic_assembly_gradle_pkg( + name = "googleads-java", + deps = [ + ":googleads_java_gapic", + "//google/ads/googleads/v7:googleads_proto", + "//google/ads/googleads/v7/common:common_java_proto", + "//google/ads/googleads/v7/enums:enums_java_proto", + "//google/ads/googleads/v7/errors:errors_java_proto", + "//google/ads/googleads/v7/resources:resources_java_proto", + "//google/ads/googleads/v7/services:services_java_grpc", + "//google/ads/googleads/v7/services:services_java_proto", + ], +) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg2", + "php_gapic_library2", + "php_grpc_library2", + "php_proto_library2", +) + +php_proto_library2( + name = "googleads_php_proto", + plugin_args = ["aggregate_metadata=google.ads.googleads"], + deps = [":googleads_proto"], +) + +php_grpc_library2( + name = "googleads_php_grpc", + srcs = [":googleads_proto"], + deps = [":googleads_php_proto"], +) + +php_gapic_library2( + name = "googleads_php_gapic", + srcs = [":googleads_proto"], + gapic_yaml = "googleads_gapic.yaml", + grpc_service_config = "googleads_grpc_service_config.json", + service_yaml = "googleads_v7.yaml", + deps = [ + ":googleads_php_grpc", + ":googleads_php_proto", + ], +) + +php_gapic_assembly_pkg2( + name = "googleads-php", + deps = [ + ":googleads_php_gapic", + ":googleads_php_grpc", + ":googleads_php_proto", + ], +) + +############################################################################## +# C# +############################################################################## +load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", "csharp_gapic_library") +load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic_pkg.bzl", "csharp_gapic_assembly_pkg") + +csharp_gapic_library( + name = "googleads_csharp_gapic", + srcs = [ + ":googleads_proto_with_info", + ], + grpc_service_config = "googleads_grpc_service_config.json", + deps = [ + "//google/ads/googleads/v7/services:services_csharp_grpc", + ], +) + +csharp_gapic_assembly_pkg( + name = "googleads-csharp", + deps = [ + ":googleads_csharp_gapic", + "//google/ads/googleads/v7/common:common_csharp_proto", + "//google/ads/googleads/v7/enums:enums_csharp_proto", + "//google/ads/googleads/v7/errors:errors_csharp_proto", + "//google/ads/googleads/v7/resources:resources_csharp_proto", + "//google/ads/googleads/v7/services:services_csharp_grpc", + "//google/ads/googleads/v7/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", +) + +ruby_gapic_assembly_pkg( + name = "googleads-ruby", + deps = [ + ":googleads_ruby_gapic", + "//google/ads/googleads/v7/common:common_ruby_proto", + "//google/ads/googleads/v7/enums:enums_ruby_proto", + "//google/ads/googleads/v7/errors:errors_ruby_proto", + "//google/ads/googleads/v7/resources:resources_ruby_proto", + "//google/ads/googleads/v7/services:services_ruby_grpc", + "//google/ads/googleads/v7/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", + ], +) + +py_gapic_assembly_pkg( + name = "googleads-py", + deps = [ + ":googleads_py_gapic", + "//google/ads/googleads/v7/common:common_py_proto", + "//google/ads/googleads/v7/enums:enums_py_proto", + "//google/ads/googleads/v7/errors:errors_py_proto", + "//google/ads/googleads/v7/resources:resources_py_proto", + "//google/ads/googleads/v7/services:services_py_grpc", + "//google/ads/googleads/v7/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.v7", + service_yaml = "googleads_v7.yaml", + deps = [], +) + +nodejs_gapic_assembly_pkg( + name = "googleads-nodejs", + deps = [ + ":googleads_nodejs_gapic", + ":googleads_proto", + ], +) diff --git a/third_party/googleapis/google/ads/googleads/v7/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/common/BUILD.bazel new file mode 100644 index 000000000..e630dc99e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/BUILD.bazel @@ -0,0 +1,94 @@ +# 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/v7/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( + "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", + "csharp_proto_library", +) + +csharp_proto_library( + name = "common_csharp_proto", + deps = [":common_proto"], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.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/v7/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v7/common/ad_asset.proto new file mode 100644 index 000000000..6ea184269 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/ad_asset.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/asset_policy.proto"; +import "google/ads/googleads/v7/enums/asset_performance_label.proto"; +import "google/ads/googleads/v7/enums/served_asset_field_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "AdAssetProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; + + // The performance label of this text asset. + google.ads.googleads.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v7/common/ad_type_infos.proto new file mode 100644 index 000000000..475653e7b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/ad_type_infos.proto @@ -0,0 +1,674 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/ad_asset.proto"; +import "google/ads/googleads/v7/enums/call_conversion_reporting_state.proto"; +import "google/ads/googleads/v7/enums/display_ad_format_setting.proto"; +import "google/ads/googleads/v7/enums/display_upload_product_type.proto"; +import "google/ads/googleads/v7/enums/legacy_app_install_ad_app_store.proto"; +import "google/ads/googleads/v7/enums/mime_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "AdTypeInfosProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; +} + +// A call-only ad. +message CallOnlyAdInfo { + // The country code in the ad. + optional string country_code = 13; + + // The phone number in the ad. + optional string phone_number = 14; + + // The business name in the ad. + optional string business_name = 15; + + // First headline in the ad. + optional string headline1 = 16; + + // Second headline in the ad. + optional string headline2 = 17; + + // The first line of the ad's description. + optional string description1 = 18; + + // The second line of the ad's description. + optional string description2 = 19; + + // Whether to enable call tracking for the creative. Enabling call + // tracking also enables call conversions. + optional bool call_tracked = 20; + + // 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. + optional bool disable_call_conversion = 21; + + // The URL to be used for phone number verification. + optional string phone_number_verification_url = 22; + + // 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. + optional string conversion_action = 23; + + // The call conversion behavior of this call only ad. It can use its own call + // conversion setting, inherit the account level setting, or be disabled. + google.ads.googleads.v7.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; +} + +// 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, e.g. #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.v7.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 MediaFile resource name of the companion banner used with the ad. + optional string companion_banner = 2; +} + +// Representation of video non-skippable in-stream ad format (15 second +// in-stream non-skippable video ad). +message VideoNonSkippableInStreamAdInfo { + // The MediaFile resource name of the companion banner used with the ad. + optional string companion_banner = 2; +} + +// 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. + optional string action_button_label = 4; + + // Additional text displayed with the CTA (call-to-action) button to give + // context and encourage clicking on the button. + optional string action_headline = 5; + + // The MediaFile resource name of the companion banner used with the ad. + optional string companion_banner = 6; +} + +// Representation of video out-stream ad format (ad shown alongside a feed +// with automatic playback, without sound). +message VideoOutstreamAdInfo { + // The headline of the ad. + optional string headline = 3; + + // The description line. + optional string description = 4; +} + +// Representation of video TrueView discovery ad format. +message VideoTrueViewDiscoveryAdInfo { + // The headline of the ad. + optional string headline = 4; + + // First text line for a TrueView video discovery ad. + optional string description1 = 5; + + // Second text line for a TrueView video discovery ad. + optional string description2 = 6; +} + +// A video ad. +message VideoAdInfo { + // The MediaFile resource to use for the video. + optional string media_file = 7; + + // 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; + + // Video TrueView discovery ad format. + VideoTrueViewDiscoveryAdInfo discovery = 6; + } +} + +// A video responsive ad. +message VideoResponsiveAdInfo { + // List of text assets used for the short headline, e.g. 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, e.g. 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; +} + +// 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 may appear appended to the url displayed in the ad. + optional string path1 = 5; + + // Second part of text that may appear appended to the url displayed 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, e.g. #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, e.g. #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.v7.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; + + // Prefix before price. E.g. 'as low as'. + optional string price_prefix = 28; + + // Promotion text used for dyanmic 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; +} + +// 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.v7.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, e.g. #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, e.g. #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. E.g. 'as low as'. + optional string price_prefix = 22; + + // Promotion text used for dyanmic 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.v7.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 may appear appended to the url displayed + // in the ad. + optional string path1 = 9; + + // Second part of optional text that may appear appended to the url displayed + // 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.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/asset_policy.proto b/third_party/googleapis/google/ads/googleads/v7/common/asset_policy.proto new file mode 100644 index 000000000..e30611cd3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/asset_policy.proto @@ -0,0 +1,46 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/policy_approval_status.proto"; +import "google/ads/googleads/v7/enums/policy_review_status.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "AssetPolicyProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/asset_types.proto b/third_party/googleapis/google/ads/googleads/v7/common/asset_types.proto new file mode 100644 index 000000000..bf32d2232 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/asset_types.proto @@ -0,0 +1,325 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/common/feed_common.proto"; +import "google/ads/googleads/v7/enums/lead_form_call_to_action_type.proto"; +import "google/ads/googleads/v7/enums/lead_form_desired_intent.proto"; +import "google/ads/googleads/v7/enums/lead_form_field_user_input_type.proto"; +import "google/ads/googleads/v7/enums/lead_form_post_submit_call_to_action_type.proto"; +import "google/ads/googleads/v7/enums/mime_type.proto"; +import "google/ads/googleads/v7/enums/promotion_extension_discount_modifier.proto"; +import "google/ads/googleads/v7/enums/promotion_extension_occasion.proto"; +import "google/api/field_behavior.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "AssetTypesProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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; + + // 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.v7.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; + + // Desired intent for the lead form, e.g. more volume or higher intent. + google.ads.googleads.v7.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.v7.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; + } +} + +// 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.v7.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.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v7/common/bidding.proto new file mode 100644 index 000000000..4f9797c39 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/bidding.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/target_impression_share_location.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "BiddingProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. +message EnhancedCpc { + +} + +// 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 { + // The target cost per acquisition (CPA) option. This is the average amount + // that you would like to spend per acquisition. + // + // This field is read-only. + int64 target_cpa = 1; +} + +// 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. + optional double target_roas = 2; +} + +// 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. + 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. + 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.v7.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; + + // The desired fraction of ads to be shown in the targeted location in micros. + // E.g. 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 desired 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. + 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. + 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/v7/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v7/common/click_location.proto new file mode 100644 index 000000000..2943fd73b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/click_location.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "ClickLocationProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v7/common/criteria.proto new file mode 100644 index 000000000..2fd99ef8f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/criteria.proto @@ -0,0 +1,636 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/age_range_type.proto"; +import "google/ads/googleads/v7/enums/app_payment_model_type.proto"; +import "google/ads/googleads/v7/enums/content_label_type.proto"; +import "google/ads/googleads/v7/enums/day_of_week.proto"; +import "google/ads/googleads/v7/enums/device.proto"; +import "google/ads/googleads/v7/enums/gender_type.proto"; +import "google/ads/googleads/v7/enums/hotel_date_selection_type.proto"; +import "google/ads/googleads/v7/enums/income_range_type.proto"; +import "google/ads/googleads/v7/enums/interaction_type.proto"; +import "google/ads/googleads/v7/enums/keyword_match_type.proto"; +import "google/ads/googleads/v7/enums/listing_group_type.proto"; +import "google/ads/googleads/v7/enums/location_group_radius_units.proto"; +import "google/ads/googleads/v7/enums/minute_of_hour.proto"; +import "google/ads/googleads/v7/enums/parental_status_type.proto"; +import "google/ads/googleads/v7/enums/preferred_content_type.proto"; +import "google/ads/googleads/v7/enums/product_bidding_category_level.proto"; +import "google/ads/googleads/v7/enums/product_channel.proto"; +import "google/ads/googleads/v7/enums/product_channel_exclusivity.proto"; +import "google/ads/googleads/v7/enums/product_condition.proto"; +import "google/ads/googleads/v7/enums/product_custom_attribute_index.proto"; +import "google/ads/googleads/v7/enums/product_type_level.proto"; +import "google/ads/googleads/v7/enums/proximity_radius_units.proto"; +import "google/ads/googleads/v7/enums/webpage_condition_operand.proto"; +import "google/ads/googleads/v7/enums/webpage_condition_operator.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "CriteriaProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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 (e.g., "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 + // (e.g., "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.v7.enums.DeviceEnum.Device type = 1; +} + +// A preferred content criterion. +message PreferredContentInfo { + // Type of the preferred content. + google.ads.googleads.v7.enums.PreferredContentTypeEnum.PreferredContentType type = 2; +} + +// A listing group criterion. +message ListingGroupInfo { + // Type of the listing group. + google.ads.googleads.v7.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; + + // 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.v7.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.v7.enums.ProductChannelEnum.ProductChannel channel = 1; +} + +// Availability of a product offer. +message ProductChannelExclusivityInfo { + // Value of the availability. + google.ads.googleads.v7.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; +} + +// Condition of a product offer. +message ProductConditionInfo { + // Value of the condition. + google.ads.googleads.v7.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.v7.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.v7.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; +} + +// Unknown listing dimension. +message UnknownListingDimensionInfo { + +} + +// Criterion for hotel date selection (default dates vs. user selected). +message HotelDateSelectionTypeInfo { + // Type of the hotel date selection + google.ads.googleads.v7.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.v7.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; +} + +// Criterion for Interaction Type. +message InteractionTypeInfo { + // The interaction type. + google.ads.googleads.v7.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.v7.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.v7.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.v7.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; +} + +// An age range criterion. +message AgeRangeInfo { + // Type of the age range. + google.ads.googleads.v7.enums.AgeRangeTypeEnum.AgeRangeType type = 1; +} + +// A gender criterion. +message GenderInfo { + // Type of the gender. + google.ads.googleads.v7.enums.GenderTypeEnum.GenderType type = 1; +} + +// An income range criterion. +message IncomeRangeInfo { + // Type of the income range. + google.ads.googleads.v7.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; +} + +// A parental status criterion. +message ParentalStatusInfo { + // Type of the parental status. + google.ads.googleads.v7.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.v7.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.v7.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. + // + // 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.v7.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; + + // Operator of webpage targeting condition. + google.ads.googleads.v7.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.v7.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 via 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.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v7/common/criterion_category_availability.proto new file mode 100644 index 000000000..b492f084f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/criterion_category_availability.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/advertising_channel_sub_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_type.proto"; +import "google/ads/googleads/v7/enums/criterion_category_channel_availability_mode.proto"; +import "google/ads/googleads/v7/enums/criterion_category_locale_availability_mode.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "CriterionCategoryAvailabilityProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; + + // Channel type the category is available to. + google.ads.googleads.v7.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; + + // Channel subtypes under the channel type the category is available to. + repeated google.ads.googleads.v7.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.v7.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/v7/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v7/common/custom_parameter.proto new file mode 100644 index 000000000..5f82c3bae --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/custom_parameter.proto @@ -0,0 +1,40 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "CustomParameterProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/dates.proto b/third_party/googleapis/google/ads/googleads/v7/common/dates.proto new file mode 100644 index 000000000..d927aae81 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/dates.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/month_of_year.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "DatesProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 2020). + int64 year = 1; + + // The month of the year. (e.g. FEBRUARY). + google.ads.googleads.v7.enums.MonthOfYearEnum.MonthOfYear month = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/explorer_auto_optimizer_setting.proto b/third_party/googleapis/google/ads/googleads/v7/common/explorer_auto_optimizer_setting.proto new file mode 100644 index 000000000..994cc3531 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/explorer_auto_optimizer_setting.proto @@ -0,0 +1,38 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "ExplorerAutoOptimizerSettingProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v7/common/extensions.proto new file mode 100644 index 000000000..2dc80f26c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/extensions.proto @@ -0,0 +1,368 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/feed_common.proto"; +import "google/ads/googleads/v7/enums/app_store.proto"; +import "google/ads/googleads/v7/enums/call_conversion_reporting_state.proto"; +import "google/ads/googleads/v7/enums/price_extension_price_qualifier.proto"; +import "google/ads/googleads/v7/enums/price_extension_price_unit.proto"; +import "google/ads/googleads/v7/enums/price_extension_type.proto"; +import "google/ads/googleads/v7/enums/promotion_extension_discount_modifier.proto"; +import "google/ads/googleads/v7/enums/promotion_extension_occasion.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionsProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; + + // Price qualifier for all offers of this price extension. + google.ads.googleads.v7.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.v7.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.v7.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.v7.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/v7/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v7/common/feed_common.proto new file mode 100644 index 000000000..06f498c3e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/feed_common.proto @@ -0,0 +1,39 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "FeedCommonProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v7/common/feed_item_set_filter_type_infos.proto new file mode 100644 index 000000000..af31ad779 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/feed_item_set_filter_type_infos.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/feed_item_set_string_filter_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v7/common/final_app_url.proto new file mode 100644 index 000000000..67767c788 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/final_app_url.proto @@ -0,0 +1,46 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/app_url_operating_system_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "FinalAppUrlProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v7/common/frequency_cap.proto new file mode 100644 index 000000000..5da8ab9e2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/frequency_cap.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/frequency_cap_event_type.proto"; +import "google/ads/googleads/v7/enums/frequency_cap_level.proto"; +import "google/ads/googleads/v7/enums/frequency_cap_time_unit.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "FrequencyCapProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. ad group ad, ad group). + // The cap is applied to all the entities of this level. + google.ads.googleads.v7.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; + + // The type of event that the cap applies to (e.g. impression). + google.ads.googleads.v7.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; + + // Unit of time the cap is defined at (e.g. day, week). + google.ads.googleads.v7.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/v7/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v7/common/keyword_plan_common.proto new file mode 100644 index 000000000..2e824bbab --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/keyword_plan_common.proto @@ -0,0 +1,139 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/dates.proto"; +import "google/ads/googleads/v7/enums/device.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_aggregate_metric_type.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_competition_level.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_concept_group_type.proto"; +import "google/ads/googleads/v7/enums/month_of_year.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCommonProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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; +} + +// 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; +} + +// Monthly search volume. +message MonthlySearchVolume { + // The year of the search volume (e.g. 2020). + optional int64 year = 4; + + // The month of the search volume. + google.ads.googleads.v7.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.v7.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.v7.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.v7.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v7/common/matching_function.proto new file mode 100644 index 000000000..59fb14bf3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/matching_function.proto @@ -0,0 +1,126 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/matching_function_context_type.proto"; +import "google/ads/googleads/v7/enums/matching_function_operator.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "MatchingFunctionProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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/v7/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v7/common/metrics.proto new file mode 100644 index 000000000..699c3669a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/metrics.proto @@ -0,0 +1,608 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/interaction_event_type.proto"; +import "google/ads/googleads/v7/enums/quality_score_bucket.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "MetricsProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + + // 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; + + // 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 (e.g. 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; + + // 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.v7.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; + + // The quality of historical landing page experience. + google.ads.googleads.v7.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.v7.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.v7.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; + + // 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 (e.g., + // 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/v7/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v7/common/offline_user_data.proto new file mode 100644 index 000000000..0cefaf5b4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/offline_user_data.proto @@ -0,0 +1,214 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/user_identifier_source.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 Direct data. + optional string city = 9; + + // State code of the address. Only accepted for Store Sales Direct data. + 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; +} + +// Hashed user identifying information. +message UserIdentifier { + // Source of the user identifier when the upload is from Store Sales third + // party partners. + google.ads.googleads.v7.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; + + // Exactly one must be specified. + oneof identifier { + // Hashed email address using SHA-256 hash function after normalization. + string hashed_email = 7; + + // Hashed phone number using SHA-256 hash function after normalization + // (E164 standard). + string hashed_phone_number = 8; + + // Mobile device ID (advertising ID/IDFA). + string mobile_id = 9; + + // Advertiser-assigned user ID for Customer Match upload, or + // third-party-assigned user ID for SSD. + string third_party_user_id = 10; + + // Address information. + 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. + 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; +} + +// Store attributes of the transaction. +message StoreAttribute { + // Store code from + // https://support.google.com/business/answer/3370250#storecode + optional string store_code = 2; +} + +// 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; +} + +// 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 (i.e., + // 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. Please 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/v7/common/policy.proto b/third_party/googleapis/google/ads/googleads/v7/common/policy.proto new file mode 100644 index 000000000..93afef2a3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/policy.proto @@ -0,0 +1,220 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/policy_topic_entry_type.proto"; +import "google/ads/googleads/v7/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; +import "google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_device.proto"; +import "google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "PolicyProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 + // (e.g., 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, please 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 (e.g. 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.v7.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; + + // Additional information that explains policy finding + // (e.g. the brand name for a trademark finding). + repeated PolicyTopicEvidence evidences = 3; + + // Indicates how serving of this resource may be affected (e.g. 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.v7.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.v7.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.v7.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/v7/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v7/common/real_time_bidding_setting.proto new file mode 100644 index 000000000..f7333a6d6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/real_time_bidding_setting.proto @@ -0,0 +1,37 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "RealTimeBiddingSettingProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/segments.proto b/third_party/googleapis/google/ads/googleads/v7/common/segments.proto new file mode 100644 index 000000000..d8bf9ceb3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/segments.proto @@ -0,0 +1,333 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/ad_destination_type.proto"; +import "google/ads/googleads/v7/enums/ad_network_type.proto"; +import "google/ads/googleads/v7/enums/budget_campaign_association_status.proto"; +import "google/ads/googleads/v7/enums/click_type.proto"; +import "google/ads/googleads/v7/enums/conversion_action_category.proto"; +import "google/ads/googleads/v7/enums/conversion_attribution_event_type.proto"; +import "google/ads/googleads/v7/enums/conversion_lag_bucket.proto"; +import "google/ads/googleads/v7/enums/conversion_or_adjustment_lag_bucket.proto"; +import "google/ads/googleads/v7/enums/day_of_week.proto"; +import "google/ads/googleads/v7/enums/device.proto"; +import "google/ads/googleads/v7/enums/external_conversion_source.proto"; +import "google/ads/googleads/v7/enums/hotel_date_selection_type.proto"; +import "google/ads/googleads/v7/enums/hotel_price_bucket.proto"; +import "google/ads/googleads/v7/enums/hotel_rate_type.proto"; +import "google/ads/googleads/v7/enums/month_of_year.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/ads/googleads/v7/enums/product_channel.proto"; +import "google/ads/googleads/v7/enums/product_channel_exclusivity.proto"; +import "google/ads/googleads/v7/enums/product_condition.proto"; +import "google/ads/googleads/v7/enums/search_engine_results_page_type.proto"; +import "google/ads/googleads/v7/enums/search_term_match_type.proto"; +import "google/ads/googleads/v7/enums/slot.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "SegmentsProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::Common"; + +// Proto file describing segment only fields. + +// Segment only fields. +message Segments { + // Ad Destination type. + google.ads.googleads.v7.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; + + // Ad network type. + google.ads.googleads.v7.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; + + // Budget campaign association status. + BudgetCampaignAssociationStatus budget_campaign_association_status = 134; + + // Click type. + google.ads.googleads.v7.enums.ClickTypeEnum.ClickType click_type = 26; + + // Resource name of the conversion action. + optional string conversion_action = 113; + + // Conversion action category. + google.ads.googleads.v7.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 vs. 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.v7.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.v7.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.v7.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; + + // Date to which metrics apply. + // yyyy-MM-dd format, e.g., 2018-04-17. + optional string date = 79; + + // Day of the week, e.g., MONDAY. + google.ads.googleads.v7.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; + + // Device to which metrics apply. + google.ads.googleads.v7.enums.DeviceEnum.Device device = 1; + + // External conversion source. + google.ads.googleads.v7.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.v7.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.v7.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.v7.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; + + // Hotel price bucket. + google.ads.googleads.v7.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, e.g., January. + google.ads.googleads.v7.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.v7.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.v7.enums.ProductChannelEnum.ProductChannel product_channel = 30; + + // Channel exclusivity of the product. + google.ads.googleads.v7.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; + + // Condition of the product. + google.ads.googleads.v7.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, e.g., the second quarter of 2018 + // starts on 2018-04-01. Formatted as yyyy-MM-dd. + optional string quarter = 128; + + // Type of the search engine results page. + google.ads.googleads.v7.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; + + // Match type of the keyword that triggered the ad, including variants. + google.ads.googleads.v7.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; + + // Position of the ad. + google.ads.googleads.v7.enums.SlotEnum.Slot slot = 23; + + // 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, e.g. non-iOS campaign. + optional int64 sk_ad_network_conversion_value = 137; +} + +// 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.v7.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v7/common/simulation.proto new file mode 100644 index 000000000..b274396a9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/simulation.proto @@ -0,0 +1,358 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "SimulationProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + // E.g. 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/v7/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v7/common/tag_snippet.proto new file mode 100644 index 000000000..31ae07570 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/tag_snippet.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/tracking_code_page_format.proto"; +import "google/ads/googleads/v7/enums/tracking_code_type.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "TagSnippetProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; + + // The format of the web page where the tracking tag and snippet will be + // installed, e.g. HTML. + google.ads.googleads.v7.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/v7/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v7/common/targeting_setting.proto new file mode 100644 index 000000000..2f15de056 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/targeting_setting.proto @@ -0,0 +1,85 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/targeting_dimension.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "TargetingSettingProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v7/common/text_label.proto new file mode 100644 index 000000000..d3fc2e710 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/text_label.proto @@ -0,0 +1,40 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "TextLabelProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v7/common/url_collection.proto new file mode 100644 index 000000000..eec38cc99 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/url_collection.proto @@ -0,0 +1,45 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "UrlCollectionProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v7/common/user_lists.proto new file mode 100644 index 000000000..8eded2d14 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/user_lists.proto @@ -0,0 +1,291 @@ +// 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.ads.googleads.v7.common; + +import "google/ads/googleads/v7/enums/customer_match_upload_key_type.proto"; +import "google/ads/googleads/v7/enums/user_list_combined_rule_operator.proto"; +import "google/ads/googleads/v7/enums/user_list_crm_data_source_type.proto"; +import "google/ads/googleads/v7/enums/user_list_date_rule_item_operator.proto"; +import "google/ads/googleads/v7/enums/user_list_logical_rule_operator.proto"; +import "google/ads/googleads/v7/enums/user_list_number_rule_item_operator.proto"; +import "google/ads/googleads/v7/enums/user_list_prepopulation_status.proto"; +import "google/ads/googleads/v7/enums/user_list_rule_type.proto"; +import "google/ads/googleads/v7/enums/user_list_string_rule_item_operator.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "UserListsProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 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 (e.g., "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 + // (e.g., "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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator rule_operator = 3; +} + +// Visitors of a page during specific dates. +message DateSpecificRuleUserListInfo { + // Boolean rule that defines visitor of a page. + // + // Required for creating a date specific rule user list. + UserListRuleInfo rule = 1; + + // Start date of users visit. If set to 2000-01-01, then the list includes all + // users before end_date. The date's format should be YYYY-MM-DD. + // + // Required for creating a data specific rule user list. + optional string start_date = 4; + + // Last date of users visit. If set to 2037-12-30, then the list includes all + // users after start_date. The date's format should be YYYY-MM-DD. + // + // Required for creating a data specific rule user list. + optional string end_date = 5; +} + +// 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; +} + +// 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.v7.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; + + // 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 during specific dates. The visiting periods are + // defined as follows: + // Between start_date (inclusive) and end_date (inclusive); + // Before end_date (exclusive) with start_date = 2000-01-01; + // After start_date (exclusive) with end_date = 2037-12-30. + DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; + + // 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.v7.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/v7/common/value.proto b/third_party/googleapis/google/ads/googleads/v7/common/value.proto new file mode 100644 index 000000000..bc9f1779e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/common/value.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.common; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Common"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/common;common"; +option java_multiple_files = true; +option java_outer_classname = "ValueProto"; +option java_package = "com.google.ads.googleads.v7.common"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Common"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/enums/BUILD.bazel new file mode 100644 index 000000000..422fc227c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/BUILD.bazel @@ -0,0 +1,89 @@ +# 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( + "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", + "csharp_proto_library", +) + +csharp_proto_library( + name = "enums_csharp_proto", + deps = [":enums_proto"], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.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/v7/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/access_invitation_status.proto new file mode 100644 index 000000000..84b020528 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/access_invitation_status.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccessInvitationStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v7/enums/access_reason.proto new file mode 100644 index 000000000..dc4a3e566 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/access_reason.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccessReasonProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v7/enums/access_role.proto new file mode 100644 index 000000000..254c2d218 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/access_role.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccessRoleProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_proposal_status.proto new file mode 100644 index 000000000..c115da43e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_proposal_status.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProposalStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. by rejecting an + // acceptance email. + REJECTED = 6; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_proposal_type.proto new file mode 100644 index 000000000..49a32715f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_proposal_type.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProposalTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_status.proto new file mode 100644 index 000000000..6e673980f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/account_budget_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/account_link_status.proto new file mode 100644 index 000000000..5cb71bf47 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/account_link_status.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AccountLinkStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_customizer_placeholder_field.proto new file mode 100644 index 000000000..241d15900 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_customizer_placeholder_field.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_destination_type.proto new file mode 100644 index 000000000..baca7bc5b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_destination_type.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdDestinationTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_ad_rotation_mode.proto new file mode 100644 index 000000000..74b96dca5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_ad_rotation_mode.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdRotationModeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_ad_status.proto new file mode 100644 index 000000000..dcd862307 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_ad_status.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_criterion_approval_status.proto new file mode 100644 index 000000000..0ae40a39e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_criterion_approval_status.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_criterion_status.proto new file mode 100644 index 000000000..6cdd4b9ea --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_criterion_status.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_status.proto new file mode 100644 index 000000000..8de106543 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_status.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_type.proto new file mode 100644 index 000000000..6dfd3b901 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_group_type.proto @@ -0,0 +1,93 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_network_type.proto new file mode 100644 index 000000000..a2784f997 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_network_type.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdNetworkTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_serving_optimization_status.proto new file mode 100644 index 000000000..90db59794 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_serving_optimization_status.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdServingOptimizationStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_strength.proto new file mode 100644 index 000000000..6d5b7f59e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_strength.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdStrengthProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/ad_type.proto new file mode 100644 index 000000000..286fece27 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/ad_type.proto @@ -0,0 +1,125 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 a call only ad. + CALL_ONLY_AD = 6; + + // 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-display ad. + VIDEO_TRUEVIEW_DISCOVERY_AD = 28; + + // Video TrueView in-stream ad. + VIDEO_TRUEVIEW_IN_STREAM_AD = 29; + + // Video responsive ad. + VIDEO_RESPONSIVE_AD = 30; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_sub_type.proto new file mode 100644 index 000000000..ff9be6a31 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_sub_type.proto @@ -0,0 +1,96 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdvertisingChannelSubTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 allows you to 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_type.proto new file mode 100644 index 000000000..b96474093 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/advertising_channel_type.proto @@ -0,0 +1,70 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AdvertisingChannelTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/affiliate_location_feed_relationship_type.proto new file mode 100644 index 000000000..fbe5a2acc --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/affiliate_location_feed_relationship_type.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/affiliate_location_placeholder_field.proto new file mode 100644 index 000000000..861a49be3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/affiliate_location_placeholder_field.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/age_range_type.proto new file mode 100644 index 000000000..9805e4aad --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/age_range_type.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AgeRangeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_campaign_app_store.proto new file mode 100644 index 000000000..c4e6adc28 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_campaign_app_store.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppCampaignAppStoreProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_campaign_bidding_strategy_goal_type.proto new file mode 100644 index 000000000..af1e4a1f7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_campaign_bidding_strategy_goal_type.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, i.e. install + selected in-app + // conversions while achieving or exceeding target return on advertising + // spend. + OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_payment_model_type.proto new file mode 100644 index 000000000..b2ea72de4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_payment_model_type.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppPaymentModelTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_placeholder_field.proto new file mode 100644 index 000000000..9d371358b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_placeholder_field.proto @@ -0,0 +1,75 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_store.proto new file mode 100644 index 000000000..2eb8f7452 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_store.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppStoreProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/app_url_operating_system_type.proto new file mode 100644 index 000000000..c7c7b96c3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/app_url_operating_system_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AppUrlOperatingSystemTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/asset_field_type.proto new file mode 100644 index 000000000..be0cdbdcb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/asset_field_type.proto @@ -0,0 +1,81 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AssetFieldTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/asset_link_status.proto new file mode 100644 index 000000000..4e683e5d4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/asset_link_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AssetLinkStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v7/enums/asset_performance_label.proto new file mode 100644 index 000000000..ceee7e742 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/asset_performance_label.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AssetPerformanceLabelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/asset_type.proto new file mode 100644 index 000000000..0aa413779 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/asset_type.proto @@ -0,0 +1,74 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AssetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v7/enums/attribution_model.proto new file mode 100644 index 000000000..4dee755e2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/attribution_model.proto @@ -0,0 +1,72 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "AttributionModelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/batch_job_status.proto new file mode 100644 index 000000000..9331b738e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/batch_job_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BatchJobStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v7/enums/bid_modifier_source.proto new file mode 100644 index 000000000..236b4729f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/bid_modifier_source.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BidModifierSourceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_source.proto new file mode 100644 index 000000000..2a2c6d798 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_source.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BiddingSourceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_strategy_status.proto new file mode 100644 index 000000000..56a1d9ef9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_strategy_status.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategyStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_strategy_type.proto new file mode 100644 index 000000000..c67ba8e23 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/bidding_strategy_type.proto @@ -0,0 +1,110 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategyTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + + // 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/v7/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/billing_setup_status.proto new file mode 100644 index 000000000..8f0f5f1af --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/billing_setup_status.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BillingSetupStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v7/enums/brand_safety_suitability.proto new file mode 100644 index 000000000..34d7a62a4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/brand_safety_suitability.proto @@ -0,0 +1,73 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BrandSafetySuitabilityProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/budget_campaign_association_status.proto new file mode 100644 index 000000000..a7cf05884 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/budget_campaign_association_status.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BudgetCampaignAssociationStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v7/enums/budget_delivery_method.proto new file mode 100644 index 000000000..328fc4ab6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/budget_delivery_method.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BudgetDeliveryMethodProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v7/enums/budget_period.proto new file mode 100644 index 000000000..ea694a9d0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/budget_period.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BudgetPeriodProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/budget_status.proto new file mode 100644 index 000000000..604dc6081 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/budget_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BudgetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/budget_type.proto new file mode 100644 index 000000000..8869f5320 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/budget_type.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "BudgetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 for Hotels Ads commission program. + // Full details: https://support.google.com/google-ads/answer/9243945 + // + // This type is only supported by campaigns with + // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION and + // PaymentMode.CONVERSION_VALUE. + HOTEL_ADS_COMMISSION = 3; + + // 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v7/enums/call_conversion_reporting_state.proto new file mode 100644 index 000000000..d4487355e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/call_conversion_reporting_state.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CallConversionReportingStateProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/call_placeholder_field.proto new file mode 100644 index 000000000..999b912cf --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/call_placeholder_field.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CallPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v7/enums/call_tracking_display_location.proto new file mode 100644 index 000000000..18a6e8b17 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/call_tracking_display_location.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CallTrackingDisplayLocationProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/call_type.proto new file mode 100644 index 000000000..100efa5f1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/call_type.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CallTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/callout_placeholder_field.proto new file mode 100644 index 000000000..c27086b2f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/callout_placeholder_field.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CalloutPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_criterion_status.proto new file mode 100644 index 000000000..85df1da94 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_criterion_status.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_draft_status.proto new file mode 100644 index 000000000..10d24c54e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_draft_status.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignDraftStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_experiment_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_status.proto new file mode 100644 index 000000000..263b6fcee --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_status.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_experiment_traffic_split_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_traffic_split_type.proto new file mode 100644 index 000000000..12ecf4747 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_traffic_split_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentTrafficSplitTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_type.proto new file mode 100644 index 000000000..53189a71f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_experiment_type.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_serving_status.proto new file mode 100644 index 000000000..91a6abd39 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_serving_status.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignServingStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_shared_set_status.proto new file mode 100644 index 000000000..02952bc4b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_shared_set_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSharedSetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_status.proto new file mode 100644 index 000000000..5e1a5539c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/campaign_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CampaignStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/change_client_type.proto new file mode 100644 index 000000000..3c4399749 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/change_client_type.proto @@ -0,0 +1,87 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ChangeClientTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/change_event_resource_type.proto new file mode 100644 index 000000000..f99e17672 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/change_event_resource_type.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ChangeEventResourceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v7/enums/change_status_operation.proto new file mode 100644 index 000000000..fd9f8f95f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/change_status_operation.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ChangeStatusOperationProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/change_status_resource_type.proto new file mode 100644 index 000000000..cdec42cfa --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/change_status_resource_type.proto @@ -0,0 +1,76 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ChangeStatusResourceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/click_type.proto new file mode 100644 index 000000000..a6cc4115d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/click_type.proto @@ -0,0 +1,203 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ClickTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/combined_audience_status.proto new file mode 100644 index 000000000..d33a82795 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/combined_audience_status.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CombinedAudienceStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/content_label_type.proto new file mode 100644 index 000000000..3df93530e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/content_label_type.proto @@ -0,0 +1,89 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ContentLabelTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_category.proto new file mode 100644 index 000000000..ef03a12bb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_category.proto @@ -0,0 +1,106 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionCategoryProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + + // Lead-generating action. + LEAD = 6; + + // 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_counting_type.proto new file mode 100644 index 000000000..8a921f972 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_counting_type.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionCountingTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_status.proto new file mode 100644 index 000000000..d4fdbf24e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_status.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_type.proto new file mode 100644 index 000000000..6d43bf518 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_action_type.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 via Firebase. + FIREBASE_ANDROID_FIRST_OPEN = 12; + + // Android app in app purchase conversions tracked via Firebase. + FIREBASE_ANDROID_IN_APP_PURCHASE = 13; + + // Android app custom conversions tracked via Firebase. + FIREBASE_ANDROID_CUSTOM = 14; + + // iOS app first open conversions tracked via Firebase. + FIREBASE_IOS_FIRST_OPEN = 15; + + // iOS app in app purchase conversions tracked via Firebase. + FIREBASE_IOS_IN_APP_PURCHASE = 16; + + // iOS app custom conversions tracked via Firebase. + FIREBASE_IOS_CUSTOM = 17; + + // Android app first open conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; + + // Android app in app purchase conversions tracked via Third Party App + // Analytics. + THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; + + // Android app custom conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; + + // iOS app first open conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; + + // iOS app in app purchase conversions tracked via Third Party App + // Analytics. + THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; + + // iOS app custom conversions tracked via 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/v7/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_adjustment_type.proto new file mode 100644 index 000000000..faab5941a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_adjustment_type.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionAdjustmentTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_attribution_event_type.proto new file mode 100644 index 000000000..fe6c0bd3c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_attribution_event_type.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionAttributionEventTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_custom_variable_status.proto new file mode 100644 index 000000000..398ea4277 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_custom_variable_status.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionCustomVariableStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_lag_bucket.proto new file mode 100644 index 000000000..1f558390b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_lag_bucket.proto @@ -0,0 +1,117 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionLagBucketProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_or_adjustment_lag_bucket.proto new file mode 100644 index 000000000..19ad720f3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/conversion_or_adjustment_lag_bucket.proto @@ -0,0 +1,206 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_category_channel_availability_mode.proto new file mode 100644 index 000000000..917e87c61 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_category_channel_availability_mode.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_category_locale_availability_mode.proto new file mode 100644 index 000000000..190689473 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_category_locale_availability_mode.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_system_serving_status.proto new file mode 100644 index 000000000..1fb3c9b9b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_system_serving_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CriterionSystemServingStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_type.proto new file mode 100644 index 000000000..e97b2a42f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/criterion_type.proto @@ -0,0 +1,140 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CriterionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. e.g. 'mars cruise'. + KEYWORD = 2; + + // Placement, aka Website. e.g. '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 (e.g. "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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_member_type.proto new file mode 100644 index 000000000..3fafaec42 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_member_type.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceMemberTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_status.proto new file mode 100644 index 000000000..c24170519 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_status.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_type.proto new file mode 100644 index 000000000..e6037ef43 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_audience_type.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_member_type.proto new file mode 100644 index 000000000..d43129938 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_member_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestMemberTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_status.proto new file mode 100644 index 000000000..44ef9ca64 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_status.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_type.proto new file mode 100644 index 000000000..c9f7e6188 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_interest_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/custom_placeholder_field.proto new file mode 100644 index 000000000..124a0549c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/custom_placeholder_field.proto @@ -0,0 +1,129 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/customer_match_upload_key_type.proto new file mode 100644 index 000000000..2e616d172 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/customer_match_upload_key_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v7/enums/customer_pay_per_conversion_eligibility_failure_reason.proto new file mode 100644 index 000000000..3b2695e5f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/customer_pay_per_conversion_eligibility_failure_reason.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/data_driven_model_status.proto new file mode 100644 index 000000000..1d02a1fe0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/data_driven_model_status.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DataDrivenModelStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v7/enums/day_of_week.proto new file mode 100644 index 000000000..421924db7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/day_of_week.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DayOfWeekProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing days of week. + +// Container for enumeration of days of the week, e.g., "Monday". +message DayOfWeekEnum { + // Enumerates days of the week, e.g., "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/v7/enums/device.proto b/third_party/googleapis/google/ads/googleads/v7/enums/device.proto new file mode 100644 index 000000000..c3050d41c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/device.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DeviceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v7/enums/display_ad_format_setting.proto new file mode 100644 index 000000000..cbe4018ba --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/display_ad_format_setting.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DisplayAdFormatSettingProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, i.e. the format rendering is controlled by the publisher + // and not by Google. + NATIVE = 4; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/display_upload_product_type.proto new file mode 100644 index 000000000..c6fa97e6f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/display_upload_product_type.proto @@ -0,0 +1,97 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DisplayUploadProductTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v7/enums/distance_bucket.proto new file mode 100644 index 000000000..df259bf40 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/distance_bucket.proto @@ -0,0 +1,127 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DistanceBucketProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/dsa_page_feed_criterion_field.proto new file mode 100644 index 000000000..6763b4796 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/dsa_page_feed_criterion_field.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "DsaPageFeedCriterionFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/education_placeholder_field.proto new file mode 100644 index 000000000..fd5f8ebe2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/education_placeholder_field.proto @@ -0,0 +1,111 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "EducationPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v7/enums/extension_setting_device.proto new file mode 100644 index 000000000..9913a7421 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/extension_setting_device.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionSettingDeviceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/extension_type.proto new file mode 100644 index 000000000..88d50d19a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/extension_type.proto @@ -0,0 +1,84 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v7/enums/external_conversion_source.proto new file mode 100644 index 000000000..61cae92b1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/external_conversion_source.proto @@ -0,0 +1,152 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ExternalConversionSourceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_attribute_type.proto new file mode 100644 index 000000000..c8535ca44 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_attribute_type.proto @@ -0,0 +1,83 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedAttributeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_quality_approval_status.proto new file mode 100644 index 000000000..fbcd6b37c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_quality_approval_status.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemQualityApprovalStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_quality_disapproval_reason.proto new file mode 100644 index 000000000..02ee0276a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_quality_disapproval_reason.proto @@ -0,0 +1,99 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_set_status.proto new file mode 100644 index 000000000..1c45a27d8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_set_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_set_string_filter_type.proto new file mode 100644 index 000000000..c0a79eb82 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_set_string_filter_type.proto @@ -0,0 +1,45 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetStringFilterTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_status.proto new file mode 100644 index 000000000..61dc831ec --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_device.proto new file mode 100644 index 000000000..5586acb17 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_device.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetDeviceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_status.proto new file mode 100644 index 000000000..f284c131d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_type.proto new file mode 100644 index 000000000..dd7102ed0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_target_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_validation_status.proto new file mode 100644 index 000000000..c45b07e7d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_item_validation_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemValidationStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_link_status.proto new file mode 100644 index 000000000..09913f279 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_link_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedLinkStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_mapping_criterion_type.proto new file mode 100644 index 000000000..f494b1aa5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_mapping_criterion_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedMappingCriterionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_mapping_status.proto new file mode 100644 index 000000000..4e887af50 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_mapping_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedMappingStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_origin.proto new file mode 100644 index 000000000..4064f6c1d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_origin.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedOriginProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/feed_status.proto new file mode 100644 index 000000000..adec627b1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/feed_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FeedStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/flight_placeholder_field.proto new file mode 100644 index 000000000..1bc54ad7c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/flight_placeholder_field.proto @@ -0,0 +1,118 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FlightsPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_event_type.proto new file mode 100644 index 000000000..7605dd309 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_event_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FrequencyCapEventTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_level.proto new file mode 100644 index 000000000..866fc1a2d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_level.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FrequencyCapLevelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_time_unit.proto new file mode 100644 index 000000000..bfd770912 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/frequency_cap_time_unit.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "FrequencyCapTimeUnitProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/gender_type.proto new file mode 100644 index 000000000..2d9ca18ef --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/gender_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GenderTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing gender types. + +// Container for enum describing the type of demographic genders. +message GenderTypeEnum { + // The type of demographic genders (e.g. 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/v7/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/geo_target_constant_status.proto new file mode 100644 index 000000000..9e4d8e58d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/geo_target_constant_status.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetConstantStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v7/enums/geo_targeting_restriction.proto new file mode 100644 index 000000000..9267cb9df --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/geo_targeting_restriction.proto @@ -0,0 +1,49 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetingRestrictionProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/geo_targeting_type.proto new file mode 100644 index 000000000..d412a9885 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/geo_targeting_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetingTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v7/enums/google_ads_field_category.proto new file mode 100644 index 000000000..12533c31e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/google_ads_field_category.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GoogleAdsFieldCategoryProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/google_ads_field_data_type.proto new file mode 100644 index 000000000..bb24ceea8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/google_ads_field_data_type.proto @@ -0,0 +1,102 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GoogleAdsFieldDataTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/google_voice_call_status.proto new file mode 100644 index 000000000..ecfb9d166 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/google_voice_call_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "GoogleVoiceCallStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_date_selection_type.proto new file mode 100644 index 000000000..d7887cd92 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_date_selection_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "HotelDateSelectionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_placeholder_field.proto new file mode 100644 index 000000000..10079485a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_placeholder_field.proto @@ -0,0 +1,124 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "HotelsPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_price_bucket.proto new file mode 100644 index 000000000..1ec440b69 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_price_bucket.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "HotelPriceBucketProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_rate_type.proto new file mode 100644 index 000000000..46e598d37 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/hotel_rate_type.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "HotelRateTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. e.g. + // 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/v7/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/image_placeholder_field.proto new file mode 100644 index 000000000..7566a5a8f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/image_placeholder_field.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ImagePlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/income_range_type.proto new file mode 100644 index 000000000..63a28bede --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/income_range_type.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "IncomeRangeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/interaction_event_type.proto new file mode 100644 index 000000000..79441cac9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/interaction_event_type.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "InteractionEventTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (i.e., 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/v7/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/interaction_type.proto new file mode 100644 index 000000000..9a22653f0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/interaction_type.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "InteractionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/invoice_type.proto new file mode 100644 index 000000000..991d92c04 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/invoice_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "InvoiceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/job_placeholder_field.proto new file mode 100644 index 000000000..d3dd0aaf7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/job_placeholder_field.proto @@ -0,0 +1,115 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "JobsPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_match_type.proto new file mode 100644 index 000000000..97335b0a9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_match_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordMatchTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_aggregate_metric_type.proto new file mode 100644 index 000000000..bcabce515 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_aggregate_metric_type.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_competition_level.proto new file mode 100644 index 000000000..d0cb77ab6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_competition_level.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCompetitionLevelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_concept_group_type.proto new file mode 100644 index 000000000..69dcfd63a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_concept_group_type.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_forecast_interval.proto new file mode 100644 index 000000000..1ec27b376 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_forecast_interval.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanForecastIntervalProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_keyword_annotation.proto new file mode 100644 index 000000000..e6f1fa1a9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_keyword_annotation.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_network.proto new file mode 100644 index 000000000..e9252c77d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/keyword_plan_network.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanNetworkProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/label_status.proto new file mode 100644 index 000000000..f6f6b0ba6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/label_status.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LabelStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_call_to_action_type.proto new file mode 100644 index 000000000..1e14a5841 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_call_to_action_type.proto @@ -0,0 +1,84 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LeadFormCallToActionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_desired_intent.proto new file mode 100644 index 000000000..f93b79339 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_desired_intent.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LeadFormDesiredIntentProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Describes the desired level of intent of generated leads. +message LeadFormDesiredIntentEnum { + // Enum describing the desired 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; + + // Only leads with a high level of intent are desired. + HIGH_INTENT = 3; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_field_user_input_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_field_user_input_type.proto new file mode 100644 index 000000000..f7fc05725 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_field_user_input_type.proto @@ -0,0 +1,273 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LeadFormFieldUserInputTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 given name (first name). This + // field can not be set at the same time as FULL_NAME. + GIVEN_NAME = 6; + + // The user will be asked to fill in their family name (last name). This + // field can not be set at the same time as FULL_NAME. + FAMILY_NAME = 7; + + // 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 city. + CITY = 9; + + // The user will be asked to fill in their region part of the address (e.g. + // 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; + + // 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: "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/v7/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_post_submit_call_to_action_type.proto new file mode 100644 index 000000000..3712061e7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/lead_form_post_submit_call_to_action_type.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v7/enums/legacy_app_install_ad_app_store.proto new file mode 100644 index 000000000..bd434758b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/legacy_app_install_ad_app_store.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/linked_account_type.proto new file mode 100644 index 000000000..bdbd5808c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/linked_account_type.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LinkedAccountTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/listing_group_type.proto new file mode 100644 index 000000000..4fbb56d49 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/listing_group_type.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ListingGroupTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/local_placeholder_field.proto new file mode 100644 index 000000000..45801ba0e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/local_placeholder_field.proto @@ -0,0 +1,119 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LocalPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/location_extension_targeting_criterion_field.proto new file mode 100644 index 000000000..0214b2313 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/location_extension_targeting_criterion_field.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v7/enums/location_group_radius_units.proto new file mode 100644 index 000000000..d4d31cdb5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/location_group_radius_units.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LocationGroupRadiusUnitsProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/location_placeholder_field.proto new file mode 100644 index 000000000..9b497b1b3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/location_placeholder_field.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LocationPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/location_source_type.proto new file mode 100644 index 000000000..a93d5ec53 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/location_source_type.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "LocationSourceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 Google My Business + // account. + 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/v7/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/manager_link_status.proto new file mode 100644 index 000000000..6ec6cab1d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/manager_link_status.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ManagerLinkStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/matching_function_context_type.proto new file mode 100644 index 000000000..c82130612 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/matching_function_context_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MatchingFunctionContextTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/matching_function_operator.proto new file mode 100644 index 000000000..2bf36abdb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/matching_function_operator.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MatchingFunctionOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/media_type.proto new file mode 100644 index 000000000..323abd99e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/media_type.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MediaTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/merchant_center_link_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/merchant_center_link_status.proto new file mode 100644 index 000000000..70061ac98 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/merchant_center_link_status.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MerchantCenterLinkStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/message_placeholder_field.proto new file mode 100644 index 000000000..d1cd04ad2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/message_placeholder_field.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MessagePlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/mime_type.proto new file mode 100644 index 000000000..cee1e962e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/mime_type.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MimeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v7/enums/minute_of_hour.proto new file mode 100644 index 000000000..419cd21d2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/minute_of_hour.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MinuteOfHourProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing days of week. + +// Container for enumeration of quarter-hours. +message MinuteOfHourEnum { + // Enumerates of quarter-hours. E.g. "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/v7/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v7/enums/mobile_app_vendor.proto new file mode 100644 index 000000000..5535c4b30 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/mobile_app_vendor.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MobileAppVendorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/mobile_device_type.proto new file mode 100644 index 000000000..7f52ed425 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/mobile_device_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MobileDeviceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v7/enums/month_of_year.proto new file mode 100644 index 000000000..8c5c9aa54 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/month_of_year.proto @@ -0,0 +1,80 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "MonthOfYearProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing days of week. + +// Container for enumeration of months of the year, e.g., "January". +message MonthOfYearEnum { + // Enumerates months of the year, e.g., "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/v7/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/negative_geo_target_type.proto new file mode 100644 index 000000000..92a5d4ff4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/negative_geo_target_type.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "NegativeGeoTargetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_failure_reason.proto new file mode 100644 index 000000000..9bd786f59 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_failure_reason.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_status.proto new file mode 100644 index 000000000..d612aaaf7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_status.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_type.proto new file mode 100644 index 000000000..3911a6aa8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/offline_user_data_job_type.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/operating_system_version_operator_type.proto new file mode 100644 index 000000000..d87d58e2f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/operating_system_version_operator_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/optimization_goal_type.proto new file mode 100644 index 000000000..0246f73bd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/optimization_goal_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "OptimizationGoalTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/parental_status_type.proto new file mode 100644 index 000000000..5def3fbf9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/parental_status_type.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ParentalStatusTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing parenal status types. + +// Container for enum describing the type of demographic parental statuses. +message ParentalStatusTypeEnum { + // The type of parental statuses (e.g. 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/v7/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v7/enums/payment_mode.proto new file mode 100644 index 000000000..c1cf01747 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/payment_mode.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PaymentModeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.HOTEL_ADS_COMMISSION. + 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/v7/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/placeholder_type.proto new file mode 100644 index 000000000..5e6572215 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/placeholder_type.proto @@ -0,0 +1,124 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PlaceholderTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 Google My Business + // account 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; + + // Allows you to 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/v7/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/placement_type.proto new file mode 100644 index 000000000..a6d3d1fbf --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/placement_type.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PlacementTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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(e.g. 'www.flowers4sale.com'). + WEBSITE = 2; + + // Mobile application categories(e.g. 'Games'). + MOBILE_APP_CATEGORY = 3; + + // mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). + MOBILE_APPLICATION = 4; + + // YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). + YOUTUBE_VIDEO = 5; + + // YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). + YOUTUBE_CHANNEL = 6; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_approval_status.proto new file mode 100644 index 000000000..ca835d329 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_approval_status.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyApprovalStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_review_status.proto new file mode 100644 index 000000000..0cef04fc7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_review_status.proto @@ -0,0 +1,60 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyReviewStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_entry_type.proto new file mode 100644 index 000000000..95d4de89e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_entry_type.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyTopicEntryTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_mismatch_url_type.proto new file mode 100644 index 000000000..e5ac6b6f5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_mismatch_url_type.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_device.proto new file mode 100644 index 000000000..c6a006220 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_device.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto new file mode 100644 index 000000000..623f41a27 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/positive_geo_target_type.proto new file mode 100644 index 000000000..791109c0c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/positive_geo_target_type.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PositiveGeoTargetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/preferred_content_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/preferred_content_type.proto new file mode 100644 index 000000000..facc157fe --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/preferred_content_type.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PreferredContentTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_price_qualifier.proto new file mode 100644 index 000000000..96cbcf798 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_price_qualifier.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PriceExtensionPriceQualifierProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_price_unit.proto new file mode 100644 index 000000000..a56f77727 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_price_unit.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PriceExtensionPriceUnitProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_type.proto new file mode 100644 index 000000000..b39abe896 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/price_extension_type.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PriceExtensionTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/price_placeholder_field.proto new file mode 100644 index 000000000..2fb9700ad --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/price_placeholder_field.proto @@ -0,0 +1,240 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PricePlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, + // e.g., 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, + // e.g., 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, + // e.g., 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, + // e.g., 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, + // e.g., 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, + // e.g., 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, + // e.g., 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, + // e.g., 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/v7/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_bidding_category_level.proto new file mode 100644 index 000000000..89c6d2519 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_bidding_category_level.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductBiddingCategoryLevelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_bidding_category_status.proto new file mode 100644 index 000000000..0766fb5e1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_bidding_category_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductBiddingCategoryStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_channel.proto new file mode 100644 index 000000000..c0df672d7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_channel.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductChannelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_channel_exclusivity.proto new file mode 100644 index 000000000..caf33d19c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_channel_exclusivity.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductChannelExclusivityProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_condition.proto new file mode 100644 index 000000000..3ef1b2877 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_condition.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductConditionProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_custom_attribute_index.proto new file mode 100644 index 000000000..e9517a177 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_custom_attribute_index.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductCustomAttributeIndexProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v7/enums/product_type_level.proto new file mode 100644 index 000000000..4ab1e2b0d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/product_type_level.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProductTypeLevelProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_extension_discount_modifier.proto new file mode 100644 index 000000000..1021264ae --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_extension_discount_modifier.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PromotionExtensionDiscountModifierProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_extension_occasion.proto new file mode 100644 index 000000000..b5978f48d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_extension_occasion.proto @@ -0,0 +1,157 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PromotionExtensionOccasionProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing promotion extension occasion. + +// Container for enum describing a promotion extension occasion. +// For more information about the occasions please 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/v7/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_placeholder_field.proto new file mode 100644 index 000000000..8f14c0cc9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/promotion_placeholder_field.proto @@ -0,0 +1,95 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "PromotionPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. Allows you to 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/v7/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v7/enums/proximity_radius_units.proto new file mode 100644 index 000000000..53572b1b1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/proximity_radius_units.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ProximityRadiusUnitsProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v7/enums/quality_score_bucket.proto new file mode 100644 index 000000000..0ea225b1c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/quality_score_bucket.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "QualityScoreBucketProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/reach_plan_ad_length.proto b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_ad_length.proto new file mode 100644 index 000000000..6896f3532 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_ad_length.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ReachPlanAdLengthProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_age_range.proto new file mode 100644 index 000000000..aabc1d237 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_age_range.proto @@ -0,0 +1,122 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ReachPlanAgeRangeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_network.proto new file mode 100644 index 000000000..95f1f4c7a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/reach_plan_network.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ReachPlanNetworkProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/real_estate_placeholder_field.proto new file mode 100644 index 000000000..65ac30f46 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/real_estate_placeholder_field.proto @@ -0,0 +1,115 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "RealEstatePlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/recommendation_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/recommendation_type.proto new file mode 100644 index 000000000..35a1810c0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/recommendation_type.proto @@ -0,0 +1,112 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "RecommendationTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v7/enums/resource_change_operation.proto new file mode 100644 index 000000000..13e074c76 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/resource_change_operation.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ResourceChangeOperationProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/resource_limit_type.proto new file mode 100644 index 000000000..88e9cfa04 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/resource_limit_type.proto @@ -0,0 +1,333 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ResourceLimitTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. + // 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 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 asset links per campaign. + LEAD_FORM_ASSET_LINKS_PER_CAMPAIGN = 68; + + // 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 his or + // her 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/v7/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/response_content_type.proto new file mode 100644 index 000000000..7e86ff93d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/response_content_type.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ResponseContentTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/search_engine_results_page_type.proto new file mode 100644 index 000000000..447dc2b94 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/search_engine_results_page_type.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SearchEngineResultsPageTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/search_term_match_type.proto new file mode 100644 index 000000000..eb1769c10 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/search_term_match_type.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SearchTermMatchTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/search_term_targeting_status.proto new file mode 100644 index 000000000..21ac4e06f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/search_term_targeting_status.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SearchTermTargetingStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/served_asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/served_asset_field_type.proto new file mode 100644 index 000000000..330b237b0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/served_asset_field_type.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "ServedAssetFieldTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/shared_set_status.proto new file mode 100644 index 000000000..a295b62d4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/shared_set_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SharedSetStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/shared_set_type.proto new file mode 100644 index 000000000..5bedb7317 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/shared_set_type.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SharedSetTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v7/enums/simulation_modification_method.proto new file mode 100644 index 000000000..e982982d4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/simulation_modification_method.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SimulationModificationMethodProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/simulation_type.proto new file mode 100644 index 000000000..092988e85 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/simulation_type.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SimulationTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/sitelink_placeholder_field.proto new file mode 100644 index 000000000..6f4799672 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/sitelink_placeholder_field.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SitelinkPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v7/enums/slot.proto new file mode 100644 index 000000000..969ead809 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/slot.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SlotProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/spending_limit_type.proto new file mode 100644 index 000000000..eed3c6b52 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/spending_limit_type.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SpendingLimitTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/structured_snippet_placeholder_field.proto new file mode 100644 index 000000000..8f9baaf2b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/structured_snippet_placeholder_field.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v7/enums/summary_row_setting.proto new file mode 100644 index 000000000..fd4db9636 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/summary_row_setting.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SummaryRowSettingProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v7/enums/system_managed_entity_source.proto new file mode 100644 index 000000000..79f7b6651 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/system_managed_entity_source.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "SystemManagedEntitySourceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v7/enums/target_cpa_opt_in_recommendation_goal.proto new file mode 100644 index 000000000..38b722b5a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/target_cpa_opt_in_recommendation_goal.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v7/enums/target_impression_share_location.proto new file mode 100644 index 000000000..ae54a82e4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/target_impression_share_location.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TargetImpressionShareLocationProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v7/enums/targeting_dimension.proto new file mode 100644 index 000000000..b403b5da6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/targeting_dimension.proto @@ -0,0 +1,74 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TargetingDimensionProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. '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, e.g. + // '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/v7/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/time_type.proto new file mode 100644 index 000000000..3ea3d5b56 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/time_type.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TimeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v7/enums/tracking_code_page_format.proto new file mode 100644 index 000000000..0d11022d9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/tracking_code_page_format.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TrackingCodePageFormatProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/tracking_code_type.proto new file mode 100644 index 000000000..d6f7e7473 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/tracking_code_type.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TrackingCodeTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v7/enums/travel_placeholder_field.proto new file mode 100644 index 000000000..340999d1e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/travel_placeholder_field.proto @@ -0,0 +1,128 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "TravelPlaceholderFieldProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. 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/v7/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_identifier_source.proto new file mode 100644 index 000000000..5e7528e3a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_identifier_source.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserIdentifierSourceProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::Enums"; + +// Proto file describing user identifier source + +// Container for enum describing the source of the user identifier for offline +// Store Sales third party uploads. +message UserIdentifierSourceEnum { + // The type of user identifier source for offline Store Sales third party + // 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/v7/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_interest_taxonomy_type.proto new file mode 100644 index 000000000..d433b9d28 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_interest_taxonomy_type.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserInterestTaxonomyTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_access_status.proto new file mode 100644 index 000000000..acc3ceeff --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_access_status.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListAccessStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_closing_reason.proto new file mode 100644 index 000000000..43f29911f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_closing_reason.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListClosingReasonProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_combined_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_combined_rule_operator.proto new file mode 100644 index 000000000..1bb611bc4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_combined_rule_operator.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListCombinedRuleOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_crm_data_source_type.proto new file mode 100644 index 000000000..3593691ef --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_crm_data_source_type.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListCrmDataSourceTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_date_rule_item_operator.proto new file mode 100644 index 000000000..e88bd4347 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_date_rule_item_operator.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListDateRuleItemOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_logical_rule_operator.proto new file mode 100644 index 000000000..32b0f63b9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_logical_rule_operator.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListLogicalRuleOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_membership_status.proto new file mode 100644 index 000000000..fe6fccd63 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_membership_status.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListMembershipStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_number_rule_item_operator.proto new file mode 100644 index 000000000..2ce673c89 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_number_rule_item_operator.proto @@ -0,0 +1,60 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListNumberRuleItemOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_prepopulation_status.proto new file mode 100644 index 000000000..17f3d3052 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_prepopulation_status.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListPrepopulationStatusProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_rule_type.proto new file mode 100644 index 000000000..487b1e008 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_rule_type.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListRuleTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_size_range.proto new file mode 100644 index 000000000..e749f82d7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_size_range.proto @@ -0,0 +1,92 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListSizeRangeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_string_rule_item_operator.proto new file mode 100644 index 000000000..aafd215a8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_string_rule_item_operator.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListStringRuleItemOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_type.proto new file mode 100644 index 000000000..59f0f6c14 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/user_list_type.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "UserListTypeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v7/enums/vanity_pharma_display_url_mode.proto new file mode 100644 index 000000000..0b0648cee --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/vanity_pharma_display_url_mode.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v7/enums/vanity_pharma_text.proto new file mode 100644 index 000000000..40297f83a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/vanity_pharma_text.proto @@ -0,0 +1,87 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "VanityPharmaTextProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v7/enums/webpage_condition_operand.proto new file mode 100644 index 000000000..aa3b5427f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/webpage_condition_operand.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "WebpageConditionOperandProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v7/enums/webpage_condition_operator.proto new file mode 100644 index 000000000..96189c93c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/enums/webpage_condition_operator.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.enums; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Enums"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums;enums"; +option java_multiple_files = true; +option java_outer_classname = "WebpageConditionOperatorProto"; +option java_package = "com.google.ads.googleads.v7.enums"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Enums"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/errors/BUILD.bazel new file mode 100644 index 000000000..e33466ec5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/BUILD.bazel @@ -0,0 +1,94 @@ +# 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/v7/common:common_proto", + "//google/ads/googleads/v7/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( + "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", + "csharp_proto_library", +) + +csharp_proto_library( + name = "errors_csharp_proto", + deps = [":errors_proto"], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.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/v7/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/access_invitation_error.proto new file mode 100644 index 000000000..c88a02964 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/access_invitation_error.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AccessInvitationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. Please see + // https://support.google.com/google-ads/answer/2375456 + EMAIL_DOMAIN_POLICY_VIOLATED = 9; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/account_budget_proposal_error.proto new file mode 100644 index 000000000..a96bfb1df --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/account_budget_proposal_error.proto @@ -0,0 +1,122 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProposalErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/account_link_error.proto new file mode 100644 index 000000000..d5a3e9df9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/account_link_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AccountLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_customizer_error.proto new file mode 100644 index 000000000..2da73207a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_customizer_error.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdCustomizerErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_error.proto new file mode 100644 index 000000000..ea01138ac --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_error.proto @@ -0,0 +1,508 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. Please + // re-enter your number using digits (0-9), dashes (-), and parentheses + // only. + DOMESTIC_PHONE_NUMBER_FORMAT = 28; + + // Emergency telephone numbers are not allowed. Please 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. Please 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 (e.g. {lpurl}) + MISSING_DESTINATION_URL_TAG = 65; + + // The tracking url template of ExpandedDynamicSearchAd must contain at + // least one tag. (e.g. {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 + // (e.g. 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. Please 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; + + // 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; + + // Missing required image aspect ratio. + MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_ad_error.proto new file mode 100644 index 000000000..3ca6f0108 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_ad_error.proto @@ -0,0 +1,76 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_bid_modifier_error.proto new file mode 100644 index 000000000..86fbfe921 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_bid_modifier_error.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupBidModifierErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_criterion_error.proto new file mode 100644 index 000000000..6b9d28b52 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_criterion_error.proto @@ -0,0 +1,137 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. {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. + // Please 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/v7/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_error.proto new file mode 100644 index 000000000..5a989688d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_error.proto @@ -0,0 +1,91 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_feed_error.proto new file mode 100644 index 000000000..bd0e0fe1d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_group_feed_error.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupFeedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_parameter_error.proto new file mode 100644 index 000000000..c19cad8b6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_parameter_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdParameterErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/ad_sharing_error.proto new file mode 100644 index 000000000..5fa065fc3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/ad_sharing_error.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdSharingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/adx_error.proto new file mode 100644 index 000000000..4e3362dfb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/adx_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AdxErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/asset_error.proto new file mode 100644 index 000000000..beca1c363 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/asset_error.proto @@ -0,0 +1,99 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AssetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/asset_link_error.proto new file mode 100644 index 000000000..8acce1d5c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/asset_link_error.proto @@ -0,0 +1,102 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AssetLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 via 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 (e.g. 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 status is invalid for the operation specified. + INVALID_STATUS = 17; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/authentication_error.proto new file mode 100644 index 000000000..f4b24f87c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/authentication_error.proto @@ -0,0 +1,103 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AuthenticationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 UserId 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/v7/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/authorization_error.proto new file mode 100644 index 000000000..80f559df1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/authorization_error.proto @@ -0,0 +1,92 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "AuthorizationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 + // (e.g., 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/batch_job_error.proto new file mode 100644 index 000000000..399331ba3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/batch_job_error.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "BatchJobErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/bidding_error.proto new file mode 100644 index 000000000..e5a35fbe3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/bidding_error.proto @@ -0,0 +1,122 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "BiddingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/bidding_strategy_error.proto new file mode 100644 index 000000000..777b6293c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/bidding_strategy_error.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategyErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/billing_setup_error.proto new file mode 100644 index 000000000..1f16f870f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/billing_setup_error.proto @@ -0,0 +1,105 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "BillingSetupErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_budget_error.proto new file mode 100644 index 000000000..8cbcb4bb6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_budget_error.proto @@ -0,0 +1,97 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignBudgetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_criterion_error.proto new file mode 100644 index 000000000..b24a549d6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_criterion_error.proto @@ -0,0 +1,81 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_draft_error.proto new file mode 100644 index 000000000..eb6ba7e84 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_draft_error.proto @@ -0,0 +1,79 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignDraftErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_error.proto new file mode 100644 index 000000000..563fe172f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_error.proto @@ -0,0 +1,190 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 payment mode type is not compatible with view through conversion. + PAYMENT_MODE_NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION = 47; + + // The field type cannot be excluded because an active campaign-asset link + // of this type exists. + INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_experiment_error.proto new file mode 100644 index 000000000..be9502053 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_experiment_error.proto @@ -0,0 +1,81 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_feed_error.proto new file mode 100644 index 000000000..820751657 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_feed_error.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignFeedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_shared_set_error.proto new file mode 100644 index 000000000..5b3f48038 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/campaign_shared_set_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSharedSetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/change_event_error.proto new file mode 100644 index 000000000..b00ae79ca --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/change_event_error.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ChangeEventErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/change_status_error.proto new file mode 100644 index 000000000..7e7192b35 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/change_status_error.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ChangeStatusErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/collection_size_error.proto new file mode 100644 index 000000000..385e36657 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/collection_size_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CollectionSizeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/context_error.proto new file mode 100644 index 000000000..5165ec1cf --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/context_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ContextErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_action_error.proto new file mode 100644 index 000000000..9f0891a28 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_action_error.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/conversion_adjustment_upload_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_adjustment_upload_error.proto new file mode 100644 index 000000000..55fe6f164 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_adjustment_upload_error.proto @@ -0,0 +1,85 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ConversionAdjustmentUploadErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + // Please 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_custom_variable_error.proto new file mode 100644 index 000000000..ec71a2689 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_custom_variable_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ConversionCustomVariableErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/conversion_upload_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_upload_error.proto new file mode 100644 index 000000000..30924aa1d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/conversion_upload_error.proto @@ -0,0 +1,137 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ConversionUploadErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 gclid. + CONVERSION_PRECEDES_GCLID = 4; + + // The click associated with the given gclid is either too old to be + // imported or occurred outside of the click through lookback window for the + // specified conversion action. + EXPIRED_GCLID = 5; + + // The click associated with the given gclid occurred too recently. Please + // try uploading again after 6 hours have passed since the click occurred. + TOO_RECENT_GCLID = 6; + + // The click associated with the given gclid could not be found in the + // system. This can happen if Google Click IDs are collected for non Google + // Ads clicks. + GCLID_NOT_FOUND = 7; + + // The click associated with the given gclid 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. + // Please 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 gclid 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. Please 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; + + // The custom variable is not enabled. + CUSTOM_VARIABLE_NOT_ENABLED = 28; + + // The value of the custom variable contains private customer data, such + // as email addresses or phone numbers. + CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/country_code_error.proto new file mode 100644 index 000000000..612739024 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/country_code_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CountryCodeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/criterion_error.proto new file mode 100644 index 000000000..2f3ed4a38 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/criterion_error.proto @@ -0,0 +1,452 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CriterionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. 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 (e.g. 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/currency_code_error.proto new file mode 100644 index 000000000..8f082acd4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/currency_code_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CurrencyCodeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/custom_audience_error.proto new file mode 100644 index 000000000..3c637be88 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/custom_audience_error.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/custom_interest_error.proto new file mode 100644 index 000000000..c394fad66 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/custom_interest_error.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/customer_client_link_error.proto new file mode 100644 index 000000000..e7842fadf --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/customer_client_link_error.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomerClientLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/customer_error.proto new file mode 100644 index 000000000..bff554d52 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/customer_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomerErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/customer_feed_error.proto new file mode 100644 index 000000000..807755cfa --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/customer_feed_error.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomerFeedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/customer_manager_link_error.proto new file mode 100644 index 000000000..411a7ad69 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/customer_manager_link_error.proto @@ -0,0 +1,75 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomerManagerLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/customer_user_access_error.proto new file mode 100644 index 000000000..89b670027 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/customer_user_access_error.proto @@ -0,0 +1,60 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "CustomerUserAccessErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/database_error.proto new file mode 100644 index 000000000..e09de53a5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/database_error.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "DatabaseErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + // Please 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. Please split the request into smaller + // requests. + REQUEST_TOO_LARGE = 4; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/date_error.proto new file mode 100644 index 000000000..da54f83be --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/date_error.proto @@ -0,0 +1,74 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "DateErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/date_range_error.proto new file mode 100644 index 000000000..b263df903 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/date_range_error.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "DateRangeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/distinct_error.proto new file mode 100644 index 000000000..b55614115 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/distinct_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "DistinctErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/enum_error.proto new file mode 100644 index 000000000..5282c6232 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/enum_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "EnumErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v7/errors/errors.proto new file mode 100644 index 000000000..ac03cdac0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/errors.proto @@ -0,0 +1,656 @@ +// 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.ads.googleads.v7.errors; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/common/value.proto"; +import "google/ads/googleads/v7/enums/resource_limit_type.proto"; +import "google/ads/googleads/v7/errors/access_invitation_error.proto"; +import "google/ads/googleads/v7/errors/account_budget_proposal_error.proto"; +import "google/ads/googleads/v7/errors/account_link_error.proto"; +import "google/ads/googleads/v7/errors/ad_customizer_error.proto"; +import "google/ads/googleads/v7/errors/ad_error.proto"; +import "google/ads/googleads/v7/errors/ad_group_ad_error.proto"; +import "google/ads/googleads/v7/errors/ad_group_bid_modifier_error.proto"; +import "google/ads/googleads/v7/errors/ad_group_criterion_error.proto"; +import "google/ads/googleads/v7/errors/ad_group_error.proto"; +import "google/ads/googleads/v7/errors/ad_group_feed_error.proto"; +import "google/ads/googleads/v7/errors/ad_parameter_error.proto"; +import "google/ads/googleads/v7/errors/ad_sharing_error.proto"; +import "google/ads/googleads/v7/errors/adx_error.proto"; +import "google/ads/googleads/v7/errors/asset_error.proto"; +import "google/ads/googleads/v7/errors/asset_link_error.proto"; +import "google/ads/googleads/v7/errors/authentication_error.proto"; +import "google/ads/googleads/v7/errors/authorization_error.proto"; +import "google/ads/googleads/v7/errors/batch_job_error.proto"; +import "google/ads/googleads/v7/errors/bidding_error.proto"; +import "google/ads/googleads/v7/errors/bidding_strategy_error.proto"; +import "google/ads/googleads/v7/errors/billing_setup_error.proto"; +import "google/ads/googleads/v7/errors/campaign_budget_error.proto"; +import "google/ads/googleads/v7/errors/campaign_criterion_error.proto"; +import "google/ads/googleads/v7/errors/campaign_draft_error.proto"; +import "google/ads/googleads/v7/errors/campaign_error.proto"; +import "google/ads/googleads/v7/errors/campaign_experiment_error.proto"; +import "google/ads/googleads/v7/errors/campaign_feed_error.proto"; +import "google/ads/googleads/v7/errors/campaign_shared_set_error.proto"; +import "google/ads/googleads/v7/errors/change_event_error.proto"; +import "google/ads/googleads/v7/errors/change_status_error.proto"; +import "google/ads/googleads/v7/errors/collection_size_error.proto"; +import "google/ads/googleads/v7/errors/context_error.proto"; +import "google/ads/googleads/v7/errors/conversion_action_error.proto"; +import "google/ads/googleads/v7/errors/conversion_adjustment_upload_error.proto"; +import "google/ads/googleads/v7/errors/conversion_custom_variable_error.proto"; +import "google/ads/googleads/v7/errors/conversion_upload_error.proto"; +import "google/ads/googleads/v7/errors/country_code_error.proto"; +import "google/ads/googleads/v7/errors/criterion_error.proto"; +import "google/ads/googleads/v7/errors/currency_code_error.proto"; +import "google/ads/googleads/v7/errors/custom_audience_error.proto"; +import "google/ads/googleads/v7/errors/custom_interest_error.proto"; +import "google/ads/googleads/v7/errors/customer_client_link_error.proto"; +import "google/ads/googleads/v7/errors/customer_error.proto"; +import "google/ads/googleads/v7/errors/customer_feed_error.proto"; +import "google/ads/googleads/v7/errors/customer_manager_link_error.proto"; +import "google/ads/googleads/v7/errors/customer_user_access_error.proto"; +import "google/ads/googleads/v7/errors/database_error.proto"; +import "google/ads/googleads/v7/errors/date_error.proto"; +import "google/ads/googleads/v7/errors/date_range_error.proto"; +import "google/ads/googleads/v7/errors/distinct_error.proto"; +import "google/ads/googleads/v7/errors/enum_error.proto"; +import "google/ads/googleads/v7/errors/extension_feed_item_error.proto"; +import "google/ads/googleads/v7/errors/extension_setting_error.proto"; +import "google/ads/googleads/v7/errors/feed_attribute_reference_error.proto"; +import "google/ads/googleads/v7/errors/feed_error.proto"; +import "google/ads/googleads/v7/errors/feed_item_error.proto"; +import "google/ads/googleads/v7/errors/feed_item_set_error.proto"; +import "google/ads/googleads/v7/errors/feed_item_set_link_error.proto"; +import "google/ads/googleads/v7/errors/feed_item_target_error.proto"; +import "google/ads/googleads/v7/errors/feed_item_validation_error.proto"; +import "google/ads/googleads/v7/errors/feed_mapping_error.proto"; +import "google/ads/googleads/v7/errors/field_error.proto"; +import "google/ads/googleads/v7/errors/field_mask_error.proto"; +import "google/ads/googleads/v7/errors/function_error.proto"; +import "google/ads/googleads/v7/errors/function_parsing_error.proto"; +import "google/ads/googleads/v7/errors/geo_target_constant_suggestion_error.proto"; +import "google/ads/googleads/v7/errors/header_error.proto"; +import "google/ads/googleads/v7/errors/id_error.proto"; +import "google/ads/googleads/v7/errors/image_error.proto"; +import "google/ads/googleads/v7/errors/internal_error.proto"; +import "google/ads/googleads/v7/errors/invoice_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_ad_group_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_ad_group_keyword_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_campaign_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_campaign_keyword_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_error.proto"; +import "google/ads/googleads/v7/errors/keyword_plan_idea_error.proto"; +import "google/ads/googleads/v7/errors/label_error.proto"; +import "google/ads/googleads/v7/errors/language_code_error.proto"; +import "google/ads/googleads/v7/errors/list_operation_error.proto"; +import "google/ads/googleads/v7/errors/manager_link_error.proto"; +import "google/ads/googleads/v7/errors/media_bundle_error.proto"; +import "google/ads/googleads/v7/errors/media_file_error.proto"; +import "google/ads/googleads/v7/errors/media_upload_error.proto"; +import "google/ads/googleads/v7/errors/multiplier_error.proto"; +import "google/ads/googleads/v7/errors/mutate_error.proto"; +import "google/ads/googleads/v7/errors/new_resource_creation_error.proto"; +import "google/ads/googleads/v7/errors/not_allowlisted_error.proto"; +import "google/ads/googleads/v7/errors/not_empty_error.proto"; +import "google/ads/googleads/v7/errors/null_error.proto"; +import "google/ads/googleads/v7/errors/offline_user_data_job_error.proto"; +import "google/ads/googleads/v7/errors/operation_access_denied_error.proto"; +import "google/ads/googleads/v7/errors/operator_error.proto"; +import "google/ads/googleads/v7/errors/partial_failure_error.proto"; +import "google/ads/googleads/v7/errors/payments_account_error.proto"; +import "google/ads/googleads/v7/errors/policy_finding_error.proto"; +import "google/ads/googleads/v7/errors/policy_validation_parameter_error.proto"; +import "google/ads/googleads/v7/errors/policy_violation_error.proto"; +import "google/ads/googleads/v7/errors/query_error.proto"; +import "google/ads/googleads/v7/errors/quota_error.proto"; +import "google/ads/googleads/v7/errors/range_error.proto"; +import "google/ads/googleads/v7/errors/reach_plan_error.proto"; +import "google/ads/googleads/v7/errors/recommendation_error.proto"; +import "google/ads/googleads/v7/errors/region_code_error.proto"; +import "google/ads/googleads/v7/errors/request_error.proto"; +import "google/ads/googleads/v7/errors/resource_access_denied_error.proto"; +import "google/ads/googleads/v7/errors/resource_count_limit_exceeded_error.proto"; +import "google/ads/googleads/v7/errors/setting_error.proto"; +import "google/ads/googleads/v7/errors/shared_criterion_error.proto"; +import "google/ads/googleads/v7/errors/shared_set_error.proto"; +import "google/ads/googleads/v7/errors/size_limit_error.proto"; +import "google/ads/googleads/v7/errors/string_format_error.proto"; +import "google/ads/googleads/v7/errors/string_length_error.proto"; +import "google/ads/googleads/v7/errors/third_party_app_analytics_link_error.proto"; +import "google/ads/googleads/v7/errors/time_zone_error.proto"; +import "google/ads/googleads/v7/errors/url_field_error.proto"; +import "google/ads/googleads/v7/errors/user_data_error.proto"; +import "google/ads/googleads/v7/errors/user_list_error.proto"; +import "google/ads/googleads/v7/errors/youtube_video_registration_error.proto"; +import "google/protobuf/duration.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ErrorsProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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; + + // Indicates failure to properly authenticate user. + AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = 18; + + // 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 bidding errors + BiddingErrorEnum.BiddingError bidding_error = 26; + + // The reasons for the campaign criterion error + CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = 29; + + // The reasons for the collection size error + CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; + + // 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 customer error + CustomerErrorEnum.CustomerError customer_error = 90; + + // 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; + + // 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 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 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; + } +} + +// 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.v7.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.v7.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.v7.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; + + // The count of existing entities. + int32 existing_count = 4; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/extension_feed_item_error.proto new file mode 100644 index 000000000..73c2976da --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/extension_feed_item_error.proto @@ -0,0 +1,195 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionFeedItemErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (i.e. 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. Please 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 (i.e., 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 i.e. 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/v7/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/extension_setting_error.proto new file mode 100644 index 000000000..c5afacff5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/extension_setting_error.proto @@ -0,0 +1,261 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionSettingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (i.e. 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 (i.e., 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 (e.g., 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. Please 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/v7/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_attribute_reference_error.proto new file mode 100644 index 000000000..43fc68ff1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_attribute_reference_error.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedAttributeReferenceErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_error.proto new file mode 100644 index 000000000..e7b996a4a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_error.proto @@ -0,0 +1,111 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 Google My Business account. + 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 GMB account. + GMB_ACCESS_ERROR = 22; + + // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. + CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_error.proto new file mode 100644 index 000000000..9666c6574 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_error.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_set_error.proto new file mode 100644 index 000000000..ba23c27fb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_set_error.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_set_link_error.proto new file mode 100644 index 000000000..b21ad5562 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_set_link_error.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_target_error.proto new file mode 100644 index 000000000..28acbf6d1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_target_error.proto @@ -0,0 +1,70 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_validation_error.proto new file mode 100644 index 000000000..818be9e14 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_item_validation_error.proto @@ -0,0 +1,377 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemValidationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g., 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. Please 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/v7/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/feed_mapping_error.proto new file mode 100644 index 000000000..cdfecb327 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/feed_mapping_error.proto @@ -0,0 +1,100 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FeedMappingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/field_error.proto new file mode 100644 index 000000000..4daf9c382 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/field_error.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FieldErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/field_mask_error.proto new file mode 100644 index 000000000..031147a75 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/field_mask_error.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FieldMaskErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/function_error.proto new file mode 100644 index 000000000..b77e073f7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/function_error.proto @@ -0,0 +1,93 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FunctionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/function_parsing_error.proto new file mode 100644 index 000000000..20ad27e92 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/function_parsing_error.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "FunctionParsingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/geo_target_constant_suggestion_error.proto new file mode 100644 index 000000000..481a6531b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/geo_target_constant_suggestion_error.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/header_error.proto new file mode 100644 index 000000000..a7d2c2f65 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/header_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "HeaderErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/id_error.proto new file mode 100644 index 000000000..882006005 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/id_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "IdErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/image_error.proto new file mode 100644 index 000000000..6daca0452 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/image_error.proto @@ -0,0 +1,164 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ImageErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/internal_error.proto new file mode 100644 index 000000000..81b9a0887 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/internal_error.proto @@ -0,0 +1,58 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "InternalErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/invoice_error.proto new file mode 100644 index 000000000..b09527ab7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/invoice_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "InvoiceErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_ad_group_error.proto new file mode 100644 index 000000000..aac115292 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_ad_group_error.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_ad_group_keyword_error.proto new file mode 100644 index 000000000..405e30808 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_ad_group_keyword_error.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_campaign_error.proto new file mode 100644 index 000000000..e6db9bbbd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_campaign_error.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_campaign_keyword_error.proto new file mode 100644 index 000000000..536217c20 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_campaign_keyword_error.proto @@ -0,0 +1,49 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_error.proto new file mode 100644 index 000000000..7f98b20e1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_error.proto @@ -0,0 +1,91 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_idea_error.proto new file mode 100644 index 000000000..e06d962d1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/keyword_plan_idea_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanIdeaErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/label_error.proto new file mode 100644 index 000000000..e3a36cafb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/label_error.proto @@ -0,0 +1,73 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "LabelErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/language_code_error.proto new file mode 100644 index 000000000..3fa3c72c5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/language_code_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "LanguageCodeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/list_operation_error.proto new file mode 100644 index 000000000..08c418fc5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/list_operation_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ListOperationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/manager_link_error.proto new file mode 100644 index 000000000..50680cd83 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/manager_link_error.proto @@ -0,0 +1,97 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ManagerLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + + // Manger 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/media_bundle_error.proto new file mode 100644 index 000000000..2de86ad19 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/media_bundle_error.proto @@ -0,0 +1,110 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "MediaBundleErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/media_file_error.proto new file mode 100644 index 000000000..bbe9e175f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/media_file_error.proto @@ -0,0 +1,113 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "MediaFileErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/media_upload_error.proto new file mode 100644 index 000000000..2ca612f26 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/media_upload_error.proto @@ -0,0 +1,152 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "MediaUploadErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + // (E.g. 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/v7/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/multiplier_error.proto new file mode 100644 index 000000000..05b2c6c3e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/multiplier_error.proto @@ -0,0 +1,81 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "MultiplierErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g., 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 vs. cpm) needs to match campaign's bidding strategy + MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/mutate_error.proto new file mode 100644 index 000000000..acb022ae5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/mutate_error.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "MutateErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + + // Attempt to write to read-only fields. + RESOURCE_READ_ONLY = 13; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/new_resource_creation_error.proto new file mode 100644 index 000000000..a693000c3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/new_resource_creation_error.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "NewResourceCreationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/not_allowlisted_error.proto new file mode 100644 index 000000000..d14092cdd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/not_allowlisted_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "NotAllowlistedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/not_empty_error.proto new file mode 100644 index 000000000..dca61a23c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/not_empty_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "NotEmptyErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/null_error.proto new file mode 100644 index 000000000..61738c2f9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/null_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "NullErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/offline_user_data_job_error.proto new file mode 100644 index 000000000..353c533bb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/offline_user_data_job_error.proto @@ -0,0 +1,146 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + 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 value bucket must be a number from 1-10, except for remove + // operation where 0 will be accepted. + 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/operation_access_denied_error.proto new file mode 100644 index 000000000..cfccd15e4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/operation_access_denied_error.proto @@ -0,0 +1,74 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "OperationAccessDeniedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 campaign, 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 campaign or adgroup 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/v7/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/operator_error.proto new file mode 100644 index 000000000..07381be4d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/operator_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "OperatorErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/partial_failure_error.proto new file mode 100644 index 000000000..18ef22842 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/partial_failure_error.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "PartialFailureErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/payments_account_error.proto new file mode 100644 index 000000000..53f880dad --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/payments_account_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "PaymentsAccountErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/policy_finding_error.proto new file mode 100644 index 000000000..df23c23dd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/policy_finding_error.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "PolicyFindingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/policy_validation_parameter_error.proto new file mode 100644 index 000000000..284c21be8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/policy_validation_parameter_error.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "PolicyValidationParameterErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/policy_violation_error.proto new file mode 100644 index 000000000..7127bceaf --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/policy_violation_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "PolicyViolationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/query_error.proto new file mode 100644 index 000000000..418819fff --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/query_error.proto @@ -0,0 +1,222 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "QueryErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (i.e. 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; + + // Value passed was not a string when it should have been. I.e., 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; + + // A non-string 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/v7/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/quota_error.proto new file mode 100644 index 000000000..6031410a3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/quota_error.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "QuotaErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/range_error.proto new file mode 100644 index 000000000..2369ce914 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/range_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "RangeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/reach_plan_error.proto new file mode 100644 index 000000000..6ec8da3b7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/reach_plan_error.proto @@ -0,0 +1,48 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ReachPlanErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/recommendation_error.proto new file mode 100644 index 000000000..7ba61ae6b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/recommendation_error.proto @@ -0,0 +1,90 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "RecommendationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 e.g. 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. e.g. 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. e.g. 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/v7/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/region_code_error.proto new file mode 100644 index 000000000..a655fe943 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/region_code_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "RegionCodeErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/request_error.proto new file mode 100644 index 000000000..dda23e633 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/request_error.proto @@ -0,0 +1,119 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "RequestErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/resource_access_denied_error.proto new file mode 100644 index 000000000..60343cb70 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/resource_access_denied_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ResourceAccessDeniedErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/resource_count_limit_exceeded_error.proto new file mode 100644 index 000000000..45239314b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/resource_count_limit_exceeded_error.proto @@ -0,0 +1,93 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ResourceCountLimitExceededErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/setting_error.proto new file mode 100644 index 000000000..19d6c8275 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/setting_error.proto @@ -0,0 +1,85 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "SettingErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/shared_criterion_error.proto new file mode 100644 index 000000000..4446f121a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/shared_criterion_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "SharedCriterionErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/shared_set_error.proto new file mode 100644 index 000000000..88357af62 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/shared_set_error.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "SharedSetErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/size_limit_error.proto new file mode 100644 index 000000000..76e6982b0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/size_limit_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "SizeLimitErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + 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/v7/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/string_format_error.proto new file mode 100644 index 000000000..c8eab26e4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/string_format_error.proto @@ -0,0 +1,50 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "StringFormatErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/string_length_error.proto new file mode 100644 index 000000000..7f06ec11b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/string_length_error.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "StringLengthErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/third_party_app_analytics_link_error.proto new file mode 100644 index 000000000..6c231e65b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/third_party_app_analytics_link_error.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/time_zone_error.proto new file mode 100644 index 000000000..8b74feff0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/time_zone_error.proto @@ -0,0 +1,47 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "TimeZoneErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/url_field_error.proto new file mode 100644 index 000000000..c657bfdcc --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/url_field_error.proto @@ -0,0 +1,214 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "UrlFieldErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. {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 (i.e. {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 + // (i.e. {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 (i.e. {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 + // (i.e. {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. (E.g. "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 (i.e. {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 (e.g. {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, e.g, 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; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/user_data_error.proto new file mode 100644 index 000000000..409f94065 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/user_data_error.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "UserDataErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 mutate is 100. + 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/v7/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/user_list_error.proto new file mode 100644 index 000000000..9ac000ae7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/user_list_error.proto @@ -0,0 +1,129 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "UserListErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g., 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/v7/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v7/errors/youtube_video_registration_error.proto new file mode 100644 index 000000000..1f6aacc8f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/errors/youtube_video_registration_error.proto @@ -0,0 +1,53 @@ +// 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.ads.googleads.v7.errors; + +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors;errors"; +option java_multiple_files = true; +option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; +option java_package = "com.google.ads.googleads.v7.errors"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. private). + VIDEO_NOT_ACCESSIBLE = 3; + + // Video to be registered is not eligible (e.g. mature content). + VIDEO_NOT_ELIGIBLE = 4; + } + + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/googleads_gapic.yaml b/third_party/googleapis/google/ads/googleads/v7/googleads_gapic.yaml new file mode 100644 index 000000000..9b1181eec --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/googleads_gapic.yaml @@ -0,0 +1,26 @@ +type: com.google.api.codegen.ConfigProto +config_schema_version: 2.0.0 +language_settings: + csharp: + package_name: Google.Ads.GoogleAds.V7.Services + go: + package_name: google.golang.org/google/ads/googleads/v7/services + java: + package_name: com.google.ads.googleads.v7.services + nodejs: + package_name: v7.services + php: + package_name: Google\Ads\GoogleAds\V7\Services + python: + package_name: google.ads.googleads_v7.gapic.services + ruby: + package_name: Google::Ads::Googleads::V7::Services +interfaces: +- name: google.ads.googleads.v7.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/v7/googleads_grpc_service_config.json b/third_party/googleapis/google/ads/googleads/v7/googleads_grpc_service_config.json new file mode 100644 index 000000000..d96b42a4c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/googleads_grpc_service_config.json @@ -0,0 +1,396 @@ +{ + "methodConfig": [ + { + "name": [ + { + "service": "google.ads.googleads.v7.services.AccountBudgetProposalService" + }, + { + "service": "google.ads.googleads.v7.services.AccountBudgetService" + }, + { + "service": "google.ads.googleads.v7.services.AccountLinkService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupAdAssetViewService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupAdLabelService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupAdService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupAssetService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupAudienceViewService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupBidModifierService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupCriterionLabelService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupCriterionService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupCriterionSimulationService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupExtensionSettingService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupFeedService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupLabelService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupService" + }, + { + "service": "google.ads.googleads.v7.services.AdGroupSimulationService" + }, + { + "service": "google.ads.googleads.v7.services.AdParameterService" + }, + { + "service": "google.ads.googleads.v7.services.AdScheduleViewService" + }, + { + "service": "google.ads.googleads.v7.services.AdService" + }, + { + "service": "google.ads.googleads.v7.services.AgeRangeViewService" + }, + { + "service": "google.ads.googleads.v7.services.AssetService" + }, + { + "service": "google.ads.googleads.v7.services.BatchJobService" + }, + { + "service": "google.ads.googleads.v7.services.BiddingStrategyService" + }, + { + "service": "google.ads.googleads.v7.services.BiddingStrategySimulationService" + }, + { + "service": "google.ads.googleads.v7.services.BillingSetupService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignAssetService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignAudienceViewService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignBidModifierService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignBudgetService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignCriterionService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignCriterionSimulationService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignDraftService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignExperimentService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignExtensionSettingService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignFeedService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignLabelService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignSharedSetService" + }, + { + "service": "google.ads.googleads.v7.services.CampaignSimulationService" + }, + { + "service": "google.ads.googleads.v7.services.CarrierConstantService" + }, + { + "service": "google.ads.googleads.v7.services.ChangeStatusService" + }, + { + "service": "google.ads.googleads.v7.services.ClickViewService" + }, + { + "service": "google.ads.googleads.v7.services.CombinedAudienceService" + }, + { + "service": "google.ads.googleads.v7.services.ConversionActionService" + }, + { + "service": "google.ads.googleads.v7.services.ConversionAdjustmentUploadService" + }, + { + "service": "google.ads.googleads.v7.services.ConversionCustomVariableService" + }, + { + "service": "google.ads.googleads.v7.services.ConversionUploadService" + }, + { + "service": "google.ads.googleads.v7.services.CurrencyConstantService" + }, + { + "service": "google.ads.googleads.v7.services.CustomAudienceService" + }, + { + "service": "google.ads.googleads.v7.services.CustomInterestService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerAssetService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerClientLinkService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerClientService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerExtensionSettingService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerFeedService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerLabelService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerManagerLinkService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerNegativeCriterionService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerUserAccessInvitationService" + }, + { + "service": "google.ads.googleads.v7.services.CustomerUserAccessService" + }, + { + "service": "google.ads.googleads.v7.services.DetailPlacementViewService" + }, + { + "service": "google.ads.googleads.v7.services.DisplayKeywordViewService" + }, + { + "service": "google.ads.googleads.v7.services.DistanceViewService" + }, + { + "service": "google.ads.googleads.v7.services.DomainCategoryService" + }, + { + "service": "google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService" + }, + { + "service": "google.ads.googleads.v7.services.ExpandedLandingPageViewService" + }, + { + "service": "google.ads.googleads.v7.services.ExtensionFeedItemService" + }, + { + "service": "google.ads.googleads.v7.services.FeedItemService" + }, + { + "service": "google.ads.googleads.v7.services.FeedItemSetLinkService" + }, + { + "service": "google.ads.googleads.v7.services.FeedItemSetService" + }, + { + "service": "google.ads.googleads.v7.services.FeedItemTargetService" + }, + { + "service": "google.ads.googleads.v7.services.FeedMappingService" + }, + { + "service": "google.ads.googleads.v7.services.FeedPlaceholderViewService" + }, + { + "service": "google.ads.googleads.v7.services.FeedService" + }, + { + "service": "google.ads.googleads.v7.services.GenderViewService" + }, + { + "service": "google.ads.googleads.v7.services.GeoTargetConstantService" + }, + { + "service": "google.ads.googleads.v7.services.GeographicViewService" + }, + { + "service": "google.ads.googleads.v7.services.GoogleAdsFieldService" + }, + { + "service": "google.ads.googleads.v7.services.GoogleAdsService" + }, + { + "service": "google.ads.googleads.v7.services.GroupPlacementViewService" + }, + { + "service": "google.ads.googleads.v7.services.HotelGroupViewService" + }, + { + "service": "google.ads.googleads.v7.services.HotelPerformanceViewService" + }, + { + "service": "google.ads.googleads.v7.services.IncomeRangeViewService" + }, + { + "service": "google.ads.googleads.v7.services.InvoiceService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanAdGroupService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanCampaignService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanIdeaService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordPlanService" + }, + { + "service": "google.ads.googleads.v7.services.KeywordViewService" + }, + { + "service": "google.ads.googleads.v7.services.LabelService" + }, + { + "service": "google.ads.googleads.v7.services.LandingPageViewService" + }, + { + "service": "google.ads.googleads.v7.services.LanguageConstantService" + }, + { + "service": "google.ads.googleads.v7.services.LifeEventService" + }, + { + "service": "google.ads.googleads.v7.services.LocationViewService" + }, + { + "service": "google.ads.googleads.v7.services.ManagedPlacementViewService" + }, + { + "service": "google.ads.googleads.v7.services.MediaFileService" + }, + { + "service": "google.ads.googleads.v7.services.MerchantCenterLinkService" + }, + { + "service": "google.ads.googleads.v7.services.MobileAppCategoryConstantService" + }, + { + "service": "google.ads.googleads.v7.services.MobileDeviceConstantService" + }, + { + "service": "google.ads.googleads.v7.services.OfflineUserDataJobService" + }, + { + "service": "google.ads.googleads.v7.services.OperatingSystemVersionConstantService" + }, + { + "service": "google.ads.googleads.v7.services.PaidOrganicSearchTermViewService" + }, + { + "service": "google.ads.googleads.v7.services.ParentalStatusViewService" + }, + { + "service": "google.ads.googleads.v7.services.PaymentsAccountService" + }, + { + "service": "google.ads.googleads.v7.services.ProductBiddingCategoryConstantService" + }, + { + "service": "google.ads.googleads.v7.services.ProductGroupViewService" + }, + { + "service": "google.ads.googleads.v7.services.ReachPlanService" + }, + { + "service": "google.ads.googleads.v7.services.RecommendationService" + }, + { + "service": "google.ads.googleads.v7.services.RemarketingActionService" + }, + { + "service": "google.ads.googleads.v7.services.SearchTermViewService" + }, + { + "service": "google.ads.googleads.v7.services.SharedCriterionService" + }, + { + "service": "google.ads.googleads.v7.services.SharedSetService" + }, + { + "service": "google.ads.googleads.v7.services.ShoppingPerformanceViewService" + }, + { + "service": "google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService" + }, + { + "service": "google.ads.googleads.v7.services.TopicConstantService" + }, + { + "service": "google.ads.googleads.v7.services.TopicViewService" + }, + { + "service": "google.ads.googleads.v7.services.UserDataService" + }, + { + "service": "google.ads.googleads.v7.services.UserInterestService" + }, + { + "service": "google.ads.googleads.v7.services.UserListService" + }, + { + "service": "google.ads.googleads.v7.services.UserLocationViewService" + }, + { + "service": "google.ads.googleads.v7.services.VideoService" + }, + { + "service": "google.ads.googleads.v7.services.WebpageViewService" + } + ], + "timeout": "3600s", + "retryPolicy": { + "initialBackoff": "5s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE", + "DEADLINE_EXCEEDED" + ] + } + } + ] +} diff --git a/third_party/googleapis/google/ads/googleads/v7/googleads_v7.yaml b/third_party/googleapis/google/ads/googleads/v7/googleads_v7.yaml new file mode 100644 index 000000000..7db05a011 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/googleads_v7.yaml @@ -0,0 +1,1284 @@ +type: google.api.Service +config_version: 3 +name: googleads.googleapis.com +title: Google Ads API + +apis: +- name: google.ads.googleads.v7.services.AccountBudgetProposalService +- name: google.ads.googleads.v7.services.AccountBudgetService +- name: google.ads.googleads.v7.services.AccountLinkService +- name: google.ads.googleads.v7.services.AdGroupAdAssetViewService +- name: google.ads.googleads.v7.services.AdGroupAdLabelService +- name: google.ads.googleads.v7.services.AdGroupAdService +- name: google.ads.googleads.v7.services.AdGroupAssetService +- name: google.ads.googleads.v7.services.AdGroupAudienceViewService +- name: google.ads.googleads.v7.services.AdGroupBidModifierService +- name: google.ads.googleads.v7.services.AdGroupCriterionLabelService +- name: google.ads.googleads.v7.services.AdGroupCriterionService +- name: google.ads.googleads.v7.services.AdGroupCriterionSimulationService +- name: google.ads.googleads.v7.services.AdGroupExtensionSettingService +- name: google.ads.googleads.v7.services.AdGroupFeedService +- name: google.ads.googleads.v7.services.AdGroupLabelService +- name: google.ads.googleads.v7.services.AdGroupService +- name: google.ads.googleads.v7.services.AdGroupSimulationService +- name: google.ads.googleads.v7.services.AdParameterService +- name: google.ads.googleads.v7.services.AdScheduleViewService +- name: google.ads.googleads.v7.services.AdService +- name: google.ads.googleads.v7.services.AgeRangeViewService +- name: google.ads.googleads.v7.services.AssetService +- name: google.ads.googleads.v7.services.BatchJobService +- name: google.ads.googleads.v7.services.BiddingStrategyService +- name: google.ads.googleads.v7.services.BiddingStrategySimulationService +- name: google.ads.googleads.v7.services.BillingSetupService +- name: google.ads.googleads.v7.services.CampaignAssetService +- name: google.ads.googleads.v7.services.CampaignAudienceViewService +- name: google.ads.googleads.v7.services.CampaignBidModifierService +- name: google.ads.googleads.v7.services.CampaignBudgetService +- name: google.ads.googleads.v7.services.CampaignCriterionService +- name: google.ads.googleads.v7.services.CampaignCriterionSimulationService +- name: google.ads.googleads.v7.services.CampaignDraftService +- name: google.ads.googleads.v7.services.CampaignExperimentService +- name: google.ads.googleads.v7.services.CampaignExtensionSettingService +- name: google.ads.googleads.v7.services.CampaignFeedService +- name: google.ads.googleads.v7.services.CampaignLabelService +- name: google.ads.googleads.v7.services.CampaignService +- name: google.ads.googleads.v7.services.CampaignSharedSetService +- name: google.ads.googleads.v7.services.CampaignSimulationService +- name: google.ads.googleads.v7.services.CarrierConstantService +- name: google.ads.googleads.v7.services.ChangeStatusService +- name: google.ads.googleads.v7.services.ClickViewService +- name: google.ads.googleads.v7.services.CombinedAudienceService +- name: google.ads.googleads.v7.services.ConversionActionService +- name: google.ads.googleads.v7.services.ConversionAdjustmentUploadService +- name: google.ads.googleads.v7.services.ConversionCustomVariableService +- name: google.ads.googleads.v7.services.ConversionUploadService +- name: google.ads.googleads.v7.services.CurrencyConstantService +- name: google.ads.googleads.v7.services.CustomAudienceService +- name: google.ads.googleads.v7.services.CustomInterestService +- name: google.ads.googleads.v7.services.CustomerAssetService +- name: google.ads.googleads.v7.services.CustomerClientLinkService +- name: google.ads.googleads.v7.services.CustomerClientService +- name: google.ads.googleads.v7.services.CustomerExtensionSettingService +- name: google.ads.googleads.v7.services.CustomerFeedService +- name: google.ads.googleads.v7.services.CustomerLabelService +- name: google.ads.googleads.v7.services.CustomerManagerLinkService +- name: google.ads.googleads.v7.services.CustomerNegativeCriterionService +- name: google.ads.googleads.v7.services.CustomerService +- name: google.ads.googleads.v7.services.CustomerUserAccessInvitationService +- name: google.ads.googleads.v7.services.CustomerUserAccessService +- name: google.ads.googleads.v7.services.DetailPlacementViewService +- name: google.ads.googleads.v7.services.DisplayKeywordViewService +- name: google.ads.googleads.v7.services.DistanceViewService +- name: google.ads.googleads.v7.services.DomainCategoryService +- name: google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService +- name: google.ads.googleads.v7.services.ExpandedLandingPageViewService +- name: google.ads.googleads.v7.services.ExtensionFeedItemService +- name: google.ads.googleads.v7.services.FeedItemService +- name: google.ads.googleads.v7.services.FeedItemSetLinkService +- name: google.ads.googleads.v7.services.FeedItemSetService +- name: google.ads.googleads.v7.services.FeedItemTargetService +- name: google.ads.googleads.v7.services.FeedMappingService +- name: google.ads.googleads.v7.services.FeedPlaceholderViewService +- name: google.ads.googleads.v7.services.FeedService +- name: google.ads.googleads.v7.services.GenderViewService +- name: google.ads.googleads.v7.services.GeoTargetConstantService +- name: google.ads.googleads.v7.services.GeographicViewService +- name: google.ads.googleads.v7.services.GoogleAdsFieldService +- name: google.ads.googleads.v7.services.GoogleAdsService +- name: google.ads.googleads.v7.services.GroupPlacementViewService +- name: google.ads.googleads.v7.services.HotelGroupViewService +- name: google.ads.googleads.v7.services.HotelPerformanceViewService +- name: google.ads.googleads.v7.services.IncomeRangeViewService +- name: google.ads.googleads.v7.services.InvoiceService +- name: google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService +- name: google.ads.googleads.v7.services.KeywordPlanAdGroupService +- name: google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService +- name: google.ads.googleads.v7.services.KeywordPlanCampaignService +- name: google.ads.googleads.v7.services.KeywordPlanIdeaService +- name: google.ads.googleads.v7.services.KeywordPlanService +- name: google.ads.googleads.v7.services.KeywordViewService +- name: google.ads.googleads.v7.services.LabelService +- name: google.ads.googleads.v7.services.LandingPageViewService +- name: google.ads.googleads.v7.services.LanguageConstantService +- name: google.ads.googleads.v7.services.LifeEventService +- name: google.ads.googleads.v7.services.LocationViewService +- name: google.ads.googleads.v7.services.ManagedPlacementViewService +- name: google.ads.googleads.v7.services.MediaFileService +- name: google.ads.googleads.v7.services.MerchantCenterLinkService +- name: google.ads.googleads.v7.services.MobileAppCategoryConstantService +- name: google.ads.googleads.v7.services.MobileDeviceConstantService +- name: google.ads.googleads.v7.services.OfflineUserDataJobService +- name: google.ads.googleads.v7.services.OperatingSystemVersionConstantService +- name: google.ads.googleads.v7.services.PaidOrganicSearchTermViewService +- name: google.ads.googleads.v7.services.ParentalStatusViewService +- name: google.ads.googleads.v7.services.PaymentsAccountService +- name: google.ads.googleads.v7.services.ProductBiddingCategoryConstantService +- name: google.ads.googleads.v7.services.ProductGroupViewService +- name: google.ads.googleads.v7.services.ReachPlanService +- name: google.ads.googleads.v7.services.RecommendationService +- name: google.ads.googleads.v7.services.RemarketingActionService +- name: google.ads.googleads.v7.services.SearchTermViewService +- name: google.ads.googleads.v7.services.SharedCriterionService +- name: google.ads.googleads.v7.services.SharedSetService +- name: google.ads.googleads.v7.services.ShoppingPerformanceViewService +- name: google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService +- name: google.ads.googleads.v7.services.TopicConstantService +- name: google.ads.googleads.v7.services.TopicViewService +- name: google.ads.googleads.v7.services.UserDataService +- name: google.ads.googleads.v7.services.UserInterestService +- name: google.ads.googleads.v7.services.UserListService +- name: google.ads.googleads.v7.services.UserLocationViewService +- name: google.ads.googleads.v7.services.VideoService +- name: google.ads.googleads.v7.services.WebpageViewService + +types: +- name: google.ads.googleads.v7.errors.GoogleAdsFailure +- name: google.ads.googleads.v7.resources.BatchJob.BatchJobMetadata +- name: google.ads.googleads.v7.services.CreateCampaignExperimentMetadata + +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.v7.services.AccountBudgetProposalService.GetAccountBudgetProposal + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AccountBudgetProposalService.MutateAccountBudgetProposal + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AccountBudgetService.GetAccountBudget + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.AccountLinkService.*' + deadline: 600.0 + - selector: google.ads.googleads.v7.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAdLabelService.GetAdGroupAdLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAdLabelService.MutateAdGroupAdLabels + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAdService.GetAdGroupAd + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAdService.MutateAdGroupAds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAssetService.GetAdGroupAsset + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAssetService.MutateAdGroupAssets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupAudienceViewService.GetAdGroupAudienceView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupBidModifierService.GetAdGroupBidModifier + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupBidModifierService.MutateAdGroupBidModifiers + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupCriterionService.GetAdGroupCriterion + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupCriterionService.MutateAdGroupCriteria + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupFeedService.GetAdGroupFeed + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupFeedService.MutateAdGroupFeeds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupLabelService.GetAdGroupLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupLabelService.MutateAdGroupLabels + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupService.GetAdGroup + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupService.MutateAdGroups + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdGroupSimulationService.GetAdGroupSimulation + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdParameterService.GetAdParameter + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdParameterService.MutateAdParameters + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdScheduleViewService.GetAdScheduleView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdService.GetAd + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AdService.MutateAds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AgeRangeViewService.GetAgeRangeView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AssetService.GetAsset + deadline: 60.0 + - selector: google.ads.googleads.v7.services.AssetService.MutateAssets + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.BatchJobService.*' + deadline: 60.0 + - selector: google.ads.googleads.v7.services.BiddingStrategyService.GetBiddingStrategy + deadline: 60.0 + - selector: google.ads.googleads.v7.services.BiddingStrategyService.MutateBiddingStrategies + deadline: 60.0 + - selector: google.ads.googleads.v7.services.BiddingStrategySimulationService.GetBiddingStrategySimulation + deadline: 60.0 + - selector: google.ads.googleads.v7.services.BillingSetupService.GetBillingSetup + deadline: 60.0 + - selector: google.ads.googleads.v7.services.BillingSetupService.MutateBillingSetup + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignAssetService.GetCampaignAsset + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignAssetService.MutateCampaignAssets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignAudienceViewService.GetCampaignAudienceView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignBidModifierService.GetCampaignBidModifier + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignBidModifierService.MutateCampaignBidModifiers + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignBudgetService.GetCampaignBudget + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignBudgetService.MutateCampaignBudgets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignCriterionService.GetCampaignCriterion + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignCriterionService.MutateCampaignCriteria + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.CampaignDraftService.*' + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.CampaignExperimentService.*' + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignExtensionSettingService.GetCampaignExtensionSetting + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignFeedService.GetCampaignFeed + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignFeedService.MutateCampaignFeeds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignLabelService.GetCampaignLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignLabelService.MutateCampaignLabels + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignService.GetCampaign + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignService.MutateCampaigns + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignSharedSetService.GetCampaignSharedSet + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignSharedSetService.MutateCampaignSharedSets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CampaignSimulationService.GetCampaignSimulation + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CarrierConstantService.GetCarrierConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ChangeStatusService.GetChangeStatus + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ClickViewService.GetClickView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CombinedAudienceService.GetCombinedAudience + deadline: 600.0 + - selector: google.ads.googleads.v7.services.ConversionActionService.GetConversionAction + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionActionService.MutateConversionActions + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionAdjustmentUploadService.UploadConversionAdjustments + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionCustomVariableService.GetConversionCustomVariable + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionCustomVariableService.MutateConversionCustomVariables + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionUploadService.UploadCallConversions + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ConversionUploadService.UploadClickConversions + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CurrencyConstantService.GetCurrencyConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomAudienceService.GetCustomAudience + deadline: 600.0 + - selector: google.ads.googleads.v7.services.CustomAudienceService.MutateCustomAudiences + deadline: 600.0 + - selector: google.ads.googleads.v7.services.CustomInterestService.GetCustomInterest + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomInterestService.MutateCustomInterests + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerAssetService.GetCustomerAsset + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerAssetService.MutateCustomerAssets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerClientLinkService.GetCustomerClientLink + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerClientLinkService.MutateCustomerClientLink + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerClientService.GetCustomerClient + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerExtensionSettingService.GetCustomerExtensionSetting + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerFeedService.GetCustomerFeed + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerFeedService.MutateCustomerFeeds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerLabelService.GetCustomerLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerLabelService.MutateCustomerLabels + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.CustomerManagerLinkService.*' + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.CustomerService.*' + deadline: 60.0 + - selector: google.ads.googleads.v7.services.CustomerUserAccessInvitationService.GetCustomerUserAccessInvitation + deadline: 600.0 + - selector: google.ads.googleads.v7.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation + deadline: 600.0 + - selector: google.ads.googleads.v7.services.CustomerUserAccessService.GetCustomerUserAccess + deadline: 600.0 + - selector: google.ads.googleads.v7.services.CustomerUserAccessService.MutateCustomerUserAccess + deadline: 600.0 + - selector: google.ads.googleads.v7.services.DetailPlacementViewService.GetDetailPlacementView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.DisplayKeywordViewService.GetDisplayKeywordView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.DistanceViewService.GetDistanceView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.DomainCategoryService.GetDomainCategory + deadline: 60.0 + - selector: google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ExpandedLandingPageViewService.GetExpandedLandingPageView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ExtensionFeedItemService.GetExtensionFeedItem + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ExtensionFeedItemService.MutateExtensionFeedItems + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemService.GetFeedItem + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemService.MutateFeedItems + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemSetLinkService.GetFeedItemSetLink + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemSetLinkService.MutateFeedItemSetLinks + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemSetService.GetFeedItemSet + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemSetService.MutateFeedItemSets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemTargetService.GetFeedItemTarget + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedItemTargetService.MutateFeedItemTargets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedMappingService.GetFeedMapping + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedMappingService.MutateFeedMappings + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedPlaceholderViewService.GetFeedPlaceholderView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedService.GetFeed + deadline: 60.0 + - selector: google.ads.googleads.v7.services.FeedService.MutateFeeds + deadline: 60.0 + - selector: google.ads.googleads.v7.services.GenderViewService.GetGenderView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.GeoTargetConstantService.GetGeoTargetConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.GeoTargetConstantService.SuggestGeoTargetConstants + deadline: 60.0 + - selector: google.ads.googleads.v7.services.GeographicViewService.GetGeographicView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.GoogleAdsFieldService.GetGoogleAdsField + deadline: 600.0 + - selector: google.ads.googleads.v7.services.GoogleAdsFieldService.SearchGoogleAdsFields + deadline: 600.0 + - selector: google.ads.googleads.v7.services.GoogleAdsService.Mutate + deadline: 600.0 + - selector: google.ads.googleads.v7.services.GoogleAdsService.Search + deadline: 3600.0 + - selector: google.ads.googleads.v7.services.GoogleAdsService.SearchStream + deadline: 3600.0 + - selector: google.ads.googleads.v7.services.GroupPlacementViewService.GetGroupPlacementView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.HotelGroupViewService.GetHotelGroupView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.HotelPerformanceViewService.GetHotelPerformanceView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.IncomeRangeViewService.GetIncomeRangeView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.InvoiceService.ListInvoices + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignService.GetKeywordPlanCampaign + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanIdeaService.GenerateKeywordIdeas + deadline: 600.0 + - selector: 'google.ads.googleads.v7.services.KeywordPlanService.*' + deadline: 600.0 + - selector: google.ads.googleads.v7.services.KeywordPlanService.GetKeywordPlan + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordPlanService.MutateKeywordPlans + deadline: 60.0 + - selector: google.ads.googleads.v7.services.KeywordViewService.GetKeywordView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LabelService.GetLabel + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LabelService.MutateLabels + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LandingPageViewService.GetLandingPageView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LanguageConstantService.GetLanguageConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LifeEventService.GetLifeEvent + deadline: 60.0 + - selector: google.ads.googleads.v7.services.LocationViewService.GetLocationView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ManagedPlacementViewService.GetManagedPlacementView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.MediaFileService.GetMediaFile + deadline: 60.0 + - selector: google.ads.googleads.v7.services.MediaFileService.MutateMediaFiles + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.MerchantCenterLinkService.*' + deadline: 60.0 + - selector: google.ads.googleads.v7.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.MobileDeviceConstantService.GetMobileDeviceConstant + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.OfflineUserDataJobService.*' + deadline: 600.0 + - selector: google.ads.googleads.v7.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ParentalStatusViewService.GetParentalStatusView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.PaymentsAccountService.ListPaymentsAccounts + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ProductGroupViewService.GetProductGroupView + deadline: 60.0 + - selector: 'google.ads.googleads.v7.services.ReachPlanService.*' + deadline: 600.0 + - selector: 'google.ads.googleads.v7.services.RecommendationService.*' + deadline: 600.0 + - selector: google.ads.googleads.v7.services.RemarketingActionService.GetRemarketingAction + deadline: 60.0 + - selector: google.ads.googleads.v7.services.RemarketingActionService.MutateRemarketingActions + deadline: 60.0 + - selector: google.ads.googleads.v7.services.SearchTermViewService.GetSearchTermView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.SharedCriterionService.GetSharedCriterion + deadline: 60.0 + - selector: google.ads.googleads.v7.services.SharedCriterionService.MutateSharedCriteria + deadline: 60.0 + - selector: google.ads.googleads.v7.services.SharedSetService.GetSharedSet + deadline: 60.0 + - selector: google.ads.googleads.v7.services.SharedSetService.MutateSharedSets + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ShoppingPerformanceViewService.GetShoppingPerformanceView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink + deadline: 600.0 + - selector: google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId + deadline: 600.0 + - selector: google.ads.googleads.v7.services.TopicConstantService.GetTopicConstant + deadline: 60.0 + - selector: google.ads.googleads.v7.services.TopicViewService.GetTopicView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.UserDataService.UploadUserData + deadline: 600.0 + - selector: google.ads.googleads.v7.services.UserInterestService.GetUserInterest + deadline: 60.0 + - selector: google.ads.googleads.v7.services.UserListService.GetUserList + deadline: 60.0 + - selector: google.ads.googleads.v7.services.UserListService.MutateUserLists + deadline: 60.0 + - selector: google.ads.googleads.v7.services.UserLocationViewService.GetUserLocationView + deadline: 60.0 + - selector: google.ads.googleads.v7.services.VideoService.GetVideo + deadline: 60.0 + - selector: google.ads.googleads.v7.services.WebpageViewService.GetWebpageView + deadline: 60.0 + - selector: 'google.longrunning.Operations.*' + deadline: 60.0 + +http: + rules: + - selector: google.longrunning.Operations.CancelOperation + post: '/v7/{name=customers/*/operations/*}:cancel' + body: '*' + - selector: google.longrunning.Operations.DeleteOperation + delete: '/v7/{name=customers/*/operations/*}' + - selector: google.longrunning.Operations.GetOperation + get: '/v7/{name=customers/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v7/{name=customers/*/operations}' + - selector: google.longrunning.Operations.WaitOperation + post: '/v7/{name=customers/*/operations/*}:wait' + body: '*' + +authentication: + rules: + - selector: google.ads.googleads.v7.services.AccountBudgetProposalService.GetAccountBudgetProposal + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AccountBudgetProposalService.MutateAccountBudgetProposal + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AccountBudgetService.GetAccountBudget + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.AccountLinkService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAdLabelService.GetAdGroupAdLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAdLabelService.MutateAdGroupAdLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAdService.GetAdGroupAd + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAdService.MutateAdGroupAds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAssetService.GetAdGroupAsset + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAssetService.MutateAdGroupAssets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupAudienceViewService.GetAdGroupAudienceView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupBidModifierService.GetAdGroupBidModifier + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupBidModifierService.MutateAdGroupBidModifiers + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupCriterionService.GetAdGroupCriterion + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupCriterionService.MutateAdGroupCriteria + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupFeedService.GetAdGroupFeed + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupFeedService.MutateAdGroupFeeds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupLabelService.GetAdGroupLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupLabelService.MutateAdGroupLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupService.GetAdGroup + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupService.MutateAdGroups + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdGroupSimulationService.GetAdGroupSimulation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdParameterService.GetAdParameter + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdParameterService.MutateAdParameters + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdScheduleViewService.GetAdScheduleView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdService.GetAd + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AdService.MutateAds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AgeRangeViewService.GetAgeRangeView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AssetService.GetAsset + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.AssetService.MutateAssets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.BatchJobService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.BiddingStrategyService.GetBiddingStrategy + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.BiddingStrategyService.MutateBiddingStrategies + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.BiddingStrategySimulationService.GetBiddingStrategySimulation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.BillingSetupService.GetBillingSetup + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.BillingSetupService.MutateBillingSetup + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignAssetService.GetCampaignAsset + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignAssetService.MutateCampaignAssets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignAudienceViewService.GetCampaignAudienceView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignBidModifierService.GetCampaignBidModifier + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignBidModifierService.MutateCampaignBidModifiers + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignBudgetService.GetCampaignBudget + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignBudgetService.MutateCampaignBudgets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignCriterionService.GetCampaignCriterion + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignCriterionService.MutateCampaignCriteria + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.CampaignDraftService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.CampaignExperimentService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignExtensionSettingService.GetCampaignExtensionSetting + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignFeedService.GetCampaignFeed + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignFeedService.MutateCampaignFeeds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignLabelService.GetCampaignLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignLabelService.MutateCampaignLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignService.GetCampaign + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignService.MutateCampaigns + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignSharedSetService.GetCampaignSharedSet + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignSharedSetService.MutateCampaignSharedSets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CampaignSimulationService.GetCampaignSimulation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CarrierConstantService.GetCarrierConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ChangeStatusService.GetChangeStatus + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ClickViewService.GetClickView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CombinedAudienceService.GetCombinedAudience + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionActionService.GetConversionAction + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionActionService.MutateConversionActions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionAdjustmentUploadService.UploadConversionAdjustments + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionCustomVariableService.GetConversionCustomVariable + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionCustomVariableService.MutateConversionCustomVariables + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionUploadService.UploadCallConversions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ConversionUploadService.UploadClickConversions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CurrencyConstantService.GetCurrencyConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomAudienceService.GetCustomAudience + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomAudienceService.MutateCustomAudiences + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomInterestService.GetCustomInterest + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomInterestService.MutateCustomInterests + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerAssetService.GetCustomerAsset + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerAssetService.MutateCustomerAssets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerClientLinkService.GetCustomerClientLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerClientLinkService.MutateCustomerClientLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerClientService.GetCustomerClient + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerExtensionSettingService.GetCustomerExtensionSetting + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerFeedService.GetCustomerFeed + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerFeedService.MutateCustomerFeeds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerLabelService.GetCustomerLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerLabelService.MutateCustomerLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.CustomerManagerLinkService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.CustomerService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerUserAccessInvitationService.GetCustomerUserAccessInvitation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerUserAccessService.GetCustomerUserAccess + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.CustomerUserAccessService.MutateCustomerUserAccess + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.DetailPlacementViewService.GetDetailPlacementView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.DisplayKeywordViewService.GetDisplayKeywordView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.DistanceViewService.GetDistanceView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.DomainCategoryService.GetDomainCategory + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ExpandedLandingPageViewService.GetExpandedLandingPageView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ExtensionFeedItemService.GetExtensionFeedItem + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ExtensionFeedItemService.MutateExtensionFeedItems + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemService.GetFeedItem + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemService.MutateFeedItems + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemSetLinkService.GetFeedItemSetLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemSetLinkService.MutateFeedItemSetLinks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemSetService.GetFeedItemSet + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemSetService.MutateFeedItemSets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemTargetService.GetFeedItemTarget + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedItemTargetService.MutateFeedItemTargets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedMappingService.GetFeedMapping + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedMappingService.MutateFeedMappings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedPlaceholderViewService.GetFeedPlaceholderView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedService.GetFeed + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.FeedService.MutateFeeds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GenderViewService.GetGenderView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GeoTargetConstantService.GetGeoTargetConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GeoTargetConstantService.SuggestGeoTargetConstants + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GeographicViewService.GetGeographicView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GoogleAdsFieldService.GetGoogleAdsField + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GoogleAdsFieldService.SearchGoogleAdsFields + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.GoogleAdsService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.GroupPlacementViewService.GetGroupPlacementView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.HotelGroupViewService.GetHotelGroupView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.HotelPerformanceViewService.GetHotelPerformanceView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.IncomeRangeViewService.GetIncomeRangeView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.InvoiceService.ListInvoices + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignService.GetKeywordPlanCampaign + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordPlanIdeaService.GenerateKeywordIdeas + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.KeywordPlanService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.KeywordViewService.GetKeywordView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LabelService.GetLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LabelService.MutateLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LandingPageViewService.GetLandingPageView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LanguageConstantService.GetLanguageConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LifeEventService.GetLifeEvent + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.LocationViewService.GetLocationView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ManagedPlacementViewService.GetManagedPlacementView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.MediaFileService.GetMediaFile + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.MediaFileService.MutateMediaFiles + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.MerchantCenterLinkService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.MobileDeviceConstantService.GetMobileDeviceConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.OfflineUserDataJobService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ParentalStatusViewService.GetParentalStatusView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.PaymentsAccountService.ListPaymentsAccounts + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ProductGroupViewService.GetProductGroupView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.ReachPlanService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: 'google.ads.googleads.v7.services.RecommendationService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.RemarketingActionService.GetRemarketingAction + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.RemarketingActionService.MutateRemarketingActions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.SearchTermViewService.GetSearchTermView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.SharedCriterionService.GetSharedCriterion + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.SharedCriterionService.MutateSharedCriteria + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.SharedSetService.GetSharedSet + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.SharedSetService.MutateSharedSets + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ShoppingPerformanceViewService.GetShoppingPerformanceView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.TopicConstantService.GetTopicConstant + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.TopicViewService.GetTopicView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.UserDataService.UploadUserData + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.UserInterestService.GetUserInterest + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.UserListService.GetUserList + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.UserListService.MutateUserLists + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.UserLocationViewService.GetUserLocationView + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.VideoService.GetVideo + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/adwords + - selector: google.ads.googleads.v7.services.WebpageViewService.GetWebpageView + 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/v7/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/resources/BUILD.bazel new file mode 100644 index 000000000..f1997fa0e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/BUILD.bazel @@ -0,0 +1,97 @@ +# 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/v7/common:common_proto", + "//google/ads/googleads/v7/enums:enums_proto", + "//google/ads/googleads/v7/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( + "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", + "csharp_proto_library", +) + +csharp_proto_library( + name = "resources_csharp_proto", + deps = [":resources_proto"], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.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/v7/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v7/resources/account_budget.proto new file mode 100644 index 000000000..46321da6a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/account_budget.proto @@ -0,0 +1,252 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/account_budget_proposal_type.proto"; +import "google/ads/googleads/v7/enums/account_budget_status.proto"; +import "google/ads/googleads/v7/enums/spending_limit_type.proto"; +import "google/ads/googleads/v7/enums/time_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 (e.g. spending limit), these differences are +// juxtaposed via '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, e.g. END to end the budget associated + // with this proposal. + google.ads.googleads.v7.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, e.g. FOREVER. + google.ads.googleads.v7.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, e.g. INFINITE. + google.ads.googleads.v7.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.v7.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, e.g. FOREVER. + google.ads.googleads.v7.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, e.g. FOREVER. + google.ads.googleads.v7.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, e.g. INFINITE. + google.ads.googleads.v7.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, e.g. INFINITE. This + // will only be populated if the approved spending limit is INFINITE. + google.ads.googleads.v7.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, e.g. 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.v7.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v7/resources/account_budget_proposal.proto new file mode 100644 index 000000000..30fdb10e8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/account_budget_proposal.proto @@ -0,0 +1,160 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/account_budget_proposal_status.proto"; +import "google/ads/googleads/v7/enums/account_budget_proposal_type.proto"; +import "google/ads/googleads/v7/enums/spending_limit_type.proto"; +import "google/ads/googleads/v7/enums/time_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProposalProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. spending limits. +// +// Please 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, e.g. END to end the budget associated with this + // proposal. + google.ads.googleads.v7.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.v7.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, e.g. NOW. + google.ads.googleads.v7.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, e.g. FOREVER. + google.ads.googleads.v7.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, e.g. FOREVER. + google.ads.googleads.v7.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, e.g. INFINITE. + google.ads.googleads.v7.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, e.g. INFINITE. + google.ads.googleads.v7.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/account_link.proto new file mode 100644 index 000000000..69f8ce632 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/account_link.proto @@ -0,0 +1,125 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/account_link_status.proto"; +import "google/ads/googleads/v7/enums/linked_account_type.proto"; +import "google/ads/googleads/v7/enums/mobile_app_vendor.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AccountLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; + + // Output only. The type of the linked account. + google.ads.googleads.v7.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]; + } +} + +// 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 (e.g., "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 (e.g., + // "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.v7.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 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/v7/resources/ad.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad.proto new file mode 100644 index 000000000..d21ac6431 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad.proto @@ -0,0 +1,185 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/ad_type_infos.proto"; +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/final_app_url.proto"; +import "google/ads/googleads/v7/common/url_collection.proto"; +import "google/ads/googleads/v7/enums/ad_type.proto"; +import "google/ads/googleads/v7/enums/device.proto"; +import "google/ads/googleads/v7/enums/system_managed_entity_source.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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, please use url custom parameter operations. + repeated google.ads.googleads.v7.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.v7.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, e.g. 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.v7.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.v7.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.v7.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.v7.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Details pertaining to an expanded text ad. + google.ads.googleads.v7.common.ExpandedTextAdInfo expanded_text_ad = 7; + + // Details pertaining to a call-only ad. + google.ads.googleads.v7.common.CallOnlyAdInfo call_only_ad = 13; + + // 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.v7.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; + + // Details pertaining to a hotel ad. + google.ads.googleads.v7.common.HotelAdInfo hotel_ad = 15; + + // Details pertaining to a Smart Shopping ad. + google.ads.googleads.v7.common.ShoppingSmartAdInfo shopping_smart_ad = 17; + + // Details pertaining to a Shopping product ad. + google.ads.googleads.v7.common.ShoppingProductAdInfo shopping_product_ad = 18; + + // Immutable. Details pertaining to a Gmail ad. + google.ads.googleads.v7.common.GmailAdInfo gmail_ad = 21 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Details pertaining to an Image ad. + google.ads.googleads.v7.common.ImageAdInfo image_ad = 22 [(google.api.field_behavior) = IMMUTABLE]; + + // Details pertaining to a Video ad. + google.ads.googleads.v7.common.VideoAdInfo video_ad = 24; + + // Details pertaining to a Video responsive ad. + google.ads.googleads.v7.common.VideoResponsiveAdInfo video_responsive_ad = 39; + + // Details pertaining to a responsive search ad. + google.ads.googleads.v7.common.ResponsiveSearchAdInfo responsive_search_ad = 25; + + // Details pertaining to a legacy responsive display ad. + google.ads.googleads.v7.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; + + // Details pertaining to an app ad. + google.ads.googleads.v7.common.AppAdInfo app_ad = 29; + + // Immutable. Details pertaining to a legacy app install ad. + google.ads.googleads.v7.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; + + // Details pertaining to a responsive display ad. + google.ads.googleads.v7.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; + + // Details pertaining to a local ad. + google.ads.googleads.v7.common.LocalAdInfo local_ad = 32; + + // Details pertaining to a display upload ad. + google.ads.googleads.v7.common.DisplayUploadAdInfo display_upload_ad = 33; + + // Details pertaining to an app engagement ad. + google.ads.googleads.v7.common.AppEngagementAdInfo app_engagement_ad = 34; + + // Details pertaining to a Shopping Comparison Listing ad. + google.ads.googleads.v7.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group.proto new file mode 100644 index 000000000..be51936c9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group.proto @@ -0,0 +1,182 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/explorer_auto_optimizer_setting.proto"; +import "google/ads/googleads/v7/common/targeting_setting.proto"; +import "google/ads/googleads/v7/enums/ad_group_ad_rotation_mode.proto"; +import "google/ads/googleads/v7/enums/ad_group_status.proto"; +import "google/ads/googleads/v7/enums/ad_group_type.proto"; +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/bidding_source.proto"; +import "google/ads/googleads/v7/enums/targeting_dimension.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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}" + }; + + // 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.v7.enums.AdGroupStatusEnum.AdGroupStatus status = 5; + + // Immutable. The type of the ad group. + google.ads.googleads.v7.enums.AdGroupTypeEnum.AdGroupType type = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // The ad rotation mode of the ad group. + google.ads.googleads.v7.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.v7.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; + + // The maximum CPM (cost-per-thousand viewable impressions) bid. + optional int64 cpm_bid_micros = 40; + + // The target CPA (cost-per-acquisition). + 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 a standard Target ROAS strategy, 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.v7.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.v7.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.v7.common.TargetingSetting targeting_setting = 25; + + // 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.v7.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.v7.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.v7.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad.proto new file mode 100644 index 000000000..0bc0f4a5e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad.proto @@ -0,0 +1,98 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/ad_group_ad_status.proto"; +import "google/ads/googleads/v7/enums/ad_strength.proto"; +import "google/ads/googleads/v7/enums/policy_approval_status.proto"; +import "google/ads/googleads/v7/enums/policy_review_status.proto"; +import "google/ads/googleads/v7/resources/ad.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(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.v7.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.v7.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.v7.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_asset_view.proto new file mode 100644 index 000000000..8fed7ed8c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_asset_view.proto @@ -0,0 +1,105 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/asset_performance_label.proto"; +import "google/ads/googleads/v7/enums/policy_approval_status.proto"; +import "google/ads/googleads/v7/enums/policy_review_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdAssetViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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.v7.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.v7.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_label.proto new file mode 100644 index 000000000..e4ab5db5e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_ad_label.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdLabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/ad_group_asset.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_asset.proto new file mode 100644 index 000000000..fb37f68e9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_asset.proto @@ -0,0 +1,80 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/asset_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAssetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Status of the ad group asset. + google.ads.googleads.v7.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_audience_view.proto new file mode 100644 index 000000000..840684148 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_audience_view.proto @@ -0,0 +1,54 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAudienceViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_bid_modifier.proto new file mode 100644 index 000000000..2dd46369c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_bid_modifier.proto @@ -0,0 +1,112 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/bid_modifier_source.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupBidModifierProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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 vs. user selected). + google.ads.googleads.v7.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.v7.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Criterion for length of hotel stay in nights. + google.ads.googleads.v7.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.v7.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. A device criterion. + google.ads.googleads.v7.common.DeviceInfo device = 11 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. A preferred content criterion. + google.ads.googleads.v7.common.PreferredContentInfo preferred_content = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Criterion for a hotel check-in date range. + google.ads.googleads.v7.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion.proto new file mode 100644 index 000000000..0f11e30ac --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion.proto @@ -0,0 +1,291 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/enums/ad_group_criterion_approval_status.proto"; +import "google/ads/googleads/v7/enums/ad_group_criterion_status.proto"; +import "google/ads/googleads/v7/enums/bidding_source.proto"; +import "google/ads/googleads/v7/enums/criterion_system_serving_status.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/ads/googleads/v7/enums/quality_score_bucket.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Approval status of the criterion. + google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.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.v7.common.CustomParameter url_custom_parameters = 14; + + // The ad group criterion. + // + // Exactly one must be set. + oneof criterion { + // Immutable. Keyword. + google.ads.googleads.v7.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Placement. + google.ads.googleads.v7.common.PlacementInfo placement = 28 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile app category. + google.ads.googleads.v7.common.MobileAppCategoryInfo mobile_app_category = 29 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile application. + google.ads.googleads.v7.common.MobileApplicationInfo mobile_application = 30 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Listing group. + google.ads.googleads.v7.common.ListingGroupInfo listing_group = 32 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Age range. + google.ads.googleads.v7.common.AgeRangeInfo age_range = 36 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Gender. + google.ads.googleads.v7.common.GenderInfo gender = 37 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Income range. + google.ads.googleads.v7.common.IncomeRangeInfo income_range = 38 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Parental status. + google.ads.googleads.v7.common.ParentalStatusInfo parental_status = 39 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User List. + google.ads.googleads.v7.common.UserListInfo user_list = 42 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Video. + google.ads.googleads.v7.common.YouTubeVideoInfo youtube_video = 40 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Channel. + google.ads.googleads.v7.common.YouTubeChannelInfo youtube_channel = 41 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Topic. + google.ads.googleads.v7.common.TopicInfo topic = 43 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User Interest. + google.ads.googleads.v7.common.UserInterestInfo user_interest = 45 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Webpage + google.ads.googleads.v7.common.WebpageInfo webpage = 46 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. App Payment Model. + google.ads.googleads.v7.common.AppPaymentModelInfo app_payment_model = 47 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Affinity. + google.ads.googleads.v7.common.CustomAffinityInfo custom_affinity = 48 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Intent. + google.ads.googleads.v7.common.CustomIntentInfo custom_intent = 49 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Audience. + google.ads.googleads.v7.common.CustomAudienceInfo custom_audience = 74 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Combined Audience. + google.ads.googleads.v7.common.CombinedAudienceInfo combined_audience = 75 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion_label.proto new file mode 100644 index 000000000..0b277125a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion_label.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionLabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion_simulation.proto new file mode 100644 index 000000000..88c6bd64f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_criterion_simulation.proto @@ -0,0 +1,90 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/simulation.proto"; +import "google/ads/googleads/v7/enums/simulation_modification_method.proto"; +import "google/ads/googleads/v7/enums/simulation_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionSimulationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How the simulation modifies the field. + google.ads.googleads.v7.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.v7.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.v7.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_extension_setting.proto new file mode 100644 index 000000000..76615924f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_extension_setting.proto @@ -0,0 +1,79 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/extension_setting_device.proto"; +import "google/ads/googleads/v7/enums/extension_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupExtensionSettingProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_feed.proto new file mode 100644 index 000000000..4d199f72d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_feed.proto @@ -0,0 +1,83 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/matching_function.proto"; +import "google/ads/googleads/v7/enums/feed_link_status.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupFeedProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.MatchingFunction matching_function = 5; + + // Output only. Status of the ad group feed. + // This field is read-only. + google.ads.googleads.v7.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_label.proto new file mode 100644 index 000000000..bd8b8ef46 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_label.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupLabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_simulation.proto new file mode 100644 index 000000000..028fc7eec --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_group_simulation.proto @@ -0,0 +1,96 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/simulation.proto"; +import "google/ads/googleads/v7/enums/simulation_modification_method.proto"; +import "google/ads/googleads/v7/enums/simulation_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupSimulationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 +// 8. VIDEO - CPV_BID - DEFAULT +// 9. VIDEO - CPV_BID - 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.v7.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How the simulation modifies the field. + google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_parameter.proto new file mode 100644 index 000000000..e33c50a14 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_parameter.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdParameterProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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}". E.g. "{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/v7/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/ad_schedule_view.proto new file mode 100644 index 000000000..ac4cf2f22 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/ad_schedule_view.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AdScheduleViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/age_range_view.proto new file mode 100644 index 000000000..4b5e3e02c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/age_range_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AgeRangeViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/asset.proto b/third_party/googleapis/google/ads/googleads/v7/resources/asset.proto new file mode 100644 index 000000000..39d591004 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/asset.proto @@ -0,0 +1,135 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/asset_types.proto"; +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/asset_type.proto"; +import "google/ads/googleads/v7/enums/policy_approval_status.proto"; +import "google/ads/googleads/v7/enums/policy_review_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "AssetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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. 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.v7.common.YoutubeVideoAsset youtube_video_asset = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. A media bundle asset. + google.ads.googleads.v7.common.MediaBundleAsset media_bundle_asset = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. An image asset. + google.ads.googleads.v7.common.ImageAsset image_asset = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A text asset. + google.ads.googleads.v7.common.TextAsset text_asset = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A lead form asset. + google.ads.googleads.v7.common.LeadFormAsset lead_form_asset = 9; + + // A book on google asset. + google.ads.googleads.v7.common.BookOnGoogleAsset book_on_google_asset = 10; + + // A promotion asset. + google.ads.googleads.v7.common.PromotionAsset promotion_asset = 15; + + // A callout asset. + google.ads.googleads.v7.common.CalloutAsset callout_asset = 20; + + // A structured snippet asset. + google.ads.googleads.v7.common.StructuredSnippetAsset structured_snippet_asset = 21; + + // A sitelink asset. + google.ads.googleads.v7.common.SitelinkAsset sitelink_asset = 22; + } +} + +// Contains policy information for an asset. +message AssetPolicySummary { + // Output only. The list of policy findings for this asset. + repeated google.ads.googleads.v7.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.v7.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.v7.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v7/resources/batch_job.proto new file mode 100644 index 000000000..7036853c2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/batch_job.proto @@ -0,0 +1,98 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/batch_job_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "BatchJobProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v7/resources/bidding_strategy.proto new file mode 100644 index 000000000..008768307 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/bidding_strategy.proto @@ -0,0 +1,130 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/bidding.proto"; +import "google/ads/googleads/v7/enums/bidding_strategy_status.proto"; +import "google/ads/googleads/v7/enums/bidding_strategy_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategyProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // 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.v7.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.v7.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.v7.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.v7.common.TargetCpa target_cpa = 9; + + // A bidding strategy that automatically optimizes towards a desired + // percentage of impressions. + google.ads.googleads.v7.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.v7.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.v7.common.TargetSpend target_spend = 12; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/bidding_strategy_simulation.proto new file mode 100644 index 000000000..630f2366c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/bidding_strategy_simulation.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/simulation.proto"; +import "google/ads/googleads/v7/enums/simulation_modification_method.proto"; +import "google/ads/googleads/v7/enums/simulation_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategySimulationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How the simulation modifies the field. + google.ads.googleads.v7.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.v7.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.v7.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v7/resources/billing_setup.proto new file mode 100644 index 000000000..9102e4ff2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/billing_setup.proto @@ -0,0 +1,138 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/billing_setup_status.proto"; +import "google/ads/googleads/v7/enums/time_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "BillingSetupProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. "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, e.g. "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, e.g. + // 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.v7.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.v7.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.v7.enums.TimeTypeEnum.TimeType end_time_type = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/call_view.proto new file mode 100644 index 000000000..6ef1eec31 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/call_view.proto @@ -0,0 +1,80 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/call_tracking_display_location.proto"; +import "google/ads/googleads/v7/enums/call_type.proto"; +import "google/ads/googleads/v7/enums/google_voice_call_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CallViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. Region code of the caller. + string caller_region_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.v7.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The type of the call. + google.ads.googleads.v7.enums.CallTypeEnum.CallType type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The status of the call. + google.ads.googleads.v7.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign.proto new file mode 100644 index 000000000..c06f7481e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign.proto @@ -0,0 +1,425 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/bidding.proto"; +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/frequency_cap.proto"; +import "google/ads/googleads/v7/common/real_time_bidding_setting.proto"; +import "google/ads/googleads/v7/common/targeting_setting.proto"; +import "google/ads/googleads/v7/enums/ad_serving_optimization_status.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_sub_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_type.proto"; +import "google/ads/googleads/v7/enums/app_campaign_app_store.proto"; +import "google/ads/googleads/v7/enums/app_campaign_bidding_strategy_goal_type.proto"; +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/bidding_strategy_type.proto"; +import "google/ads/googleads/v7/enums/brand_safety_suitability.proto"; +import "google/ads/googleads/v7/enums/campaign_experiment_type.proto"; +import "google/ads/googleads/v7/enums/campaign_serving_status.proto"; +import "google/ads/googleads/v7/enums/campaign_status.proto"; +import "google/ads/googleads/v7/enums/location_source_type.proto"; +import "google/ads/googleads/v7/enums/negative_geo_target_type.proto"; +import "google/ads/googleads/v7/enums/optimization_goal_type.proto"; +import "google/ads/googleads/v7/enums/payment_mode.proto"; +import "google/ads/googleads/v7/enums/positive_geo_target_type.proto"; +import "google/ads/googleads/v7/enums/vanity_pharma_display_url_mode.proto"; +import "google/ads/googleads/v7/enums/vanity_pharma_text.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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}" + }; + + // 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, e.g., "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, e.g., "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" + }]; + } + + // 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]; + } + + // 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]; + + // Immutable. Sales country of products to include in the campaign. + // This field is required for Shopping campaigns. This field is immutable. + // This field is optional for non-Shopping campaigns, but it must be equal + // to 'ZZ' if set. + optional string sales_country = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // 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; + } + + // Represents a collection of settings related to ads geotargeting. + message GeoTargetTypeSetting { + // The setting used for positive geotargeting in this particular campaign. + google.ads.googleads.v7.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; + + // The setting used for negative geotargeting in this particular campaign. + google.ads.googleads.v7.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; + } + + // 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.v7.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.v7.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(google.api.field_behavior) = IMMUTABLE]; + } + + // Campaign setting for local campaigns. + message LocalCampaignSetting { + // The location source type for this local campaign. + google.ads.googleads.v7.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; + } + + // Describes how unbranded pharma ads will be displayed. + message VanityPharma { + // The display mode for vanity pharma URLs. + google.ads.googleads.v7.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.v7.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.v7.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; + } + + // 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.v7.enums.CampaignStatusEnum.CampaignStatus status = 5; + + // Output only. The ad serving status of the campaign. + google.ads.googleads.v7.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The ad serving optimization status of the campaign. + google.ads.googleads.v7.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.v7.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.v7.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.v7.common.CustomParameter url_custom_parameters = 12; + + // Settings for Real-Time Bidding, a feature only available for campaigns + // targeting the Ad Exchange network. + google.ads.googleads.v7.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.v7.common.TargetingSetting targeting_setting = 43; + + // 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.v7.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.v7.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The date when campaign started. + optional string start_date = 63; + + // The last day of the campaign. + 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.v7.common.FrequencyCapEntry frequency_caps = 40; + + // Output only. 3-Tier Brand Safety setting for the campaign. + google.ads.googleads.v7.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.v7.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.v7.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; + + // The bidding strategy for the campaign. + // + // Must be either portfolio (created via 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.v7.common.Commission commission = 49; + + // Standard Manual CPC bidding strategy. + // Manual click-based bidding where user pays per click. + google.ads.googleads.v7.common.ManualCpc manual_cpc = 24; + + // Standard Manual CPM bidding strategy. + // Manual impression-based bidding where user pays per thousand + // impressions. + google.ads.googleads.v7.common.ManualCpm manual_cpm = 25; + + // Output only. A bidding strategy that pays a configurable amount per video view. + google.ads.googleads.v7.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.v7.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.v7.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.v7.common.TargetCpa target_cpa = 26; + + // Target Impression Share bidding strategy. An automated bidding strategy + // that sets bids to achieve a desired percentage of impressions. + google.ads.googleads.v7.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.v7.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.v7.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.v7.common.PercentCpc percent_cpc = 34; + + // A bidding strategy that automatically optimizes cost per thousand + // impressions. + google.ads.googleads.v7.common.TargetCpm target_cpm = 41; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_asset.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_asset.proto new file mode 100644 index 000000000..1144ea5aa --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_asset.proto @@ -0,0 +1,76 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/asset_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignAssetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Status of the campaign asset. + google.ads.googleads.v7.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_audience_view.proto new file mode 100644 index 000000000..c0ad21765 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_audience_view.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignAudienceViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_bid_modifier.proto new file mode 100644 index 000000000..3d9e06de6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_bid_modifier.proto @@ -0,0 +1,76 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignBidModifierProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.common.InteractionTypeInfo interaction_type = 5 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_budget.proto new file mode 100644 index 000000000..4d4d22312 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_budget.proto @@ -0,0 +1,156 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/budget_delivery_method.proto"; +import "google/ads/googleads/v7/enums/budget_period.proto"; +import "google/ads/googleads/v7/enums/budget_status.proto"; +import "google/ads/googleads/v7/enums/budget_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignBudgetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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.v7.enums.BudgetTypeEnum.BudgetType type = 18 [(google.api.field_behavior) = IMMUTABLE]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion.proto new file mode 100644 index 000000000..dc097cf53 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion.proto @@ -0,0 +1,178 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/campaign_criterion_status.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.CriterionTypeEnum.CriterionType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The status of the criterion. + google.ads.googleads.v7.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; + + // The campaign criterion. + // + // Exactly one must be set. + oneof criterion { + // Immutable. Keyword. + google.ads.googleads.v7.common.KeywordInfo keyword = 8 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Placement. + google.ads.googleads.v7.common.PlacementInfo placement = 9 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile app category. + google.ads.googleads.v7.common.MobileAppCategoryInfo mobile_app_category = 10 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile application. + google.ads.googleads.v7.common.MobileApplicationInfo mobile_application = 11 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location. + google.ads.googleads.v7.common.LocationInfo location = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Device. + google.ads.googleads.v7.common.DeviceInfo device = 13 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Ad Schedule. + google.ads.googleads.v7.common.AdScheduleInfo ad_schedule = 15 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Age range. + google.ads.googleads.v7.common.AgeRangeInfo age_range = 16 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Gender. + google.ads.googleads.v7.common.GenderInfo gender = 17 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Income range. + google.ads.googleads.v7.common.IncomeRangeInfo income_range = 18 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Parental status. + google.ads.googleads.v7.common.ParentalStatusInfo parental_status = 19 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User List. + google.ads.googleads.v7.common.UserListInfo user_list = 22 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Video. + google.ads.googleads.v7.common.YouTubeVideoInfo youtube_video = 20 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Channel. + google.ads.googleads.v7.common.YouTubeChannelInfo youtube_channel = 21 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Proximity. + google.ads.googleads.v7.common.ProximityInfo proximity = 23 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Topic. + google.ads.googleads.v7.common.TopicInfo topic = 24 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Listing scope. + google.ads.googleads.v7.common.ListingScopeInfo listing_scope = 25 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Language. + google.ads.googleads.v7.common.LanguageInfo language = 26 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. IpBlock. + google.ads.googleads.v7.common.IpBlockInfo ip_block = 27 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. ContentLabel. + google.ads.googleads.v7.common.ContentLabelInfo content_label = 28 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Carrier. + google.ads.googleads.v7.common.CarrierInfo carrier = 29 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User Interest. + google.ads.googleads.v7.common.UserInterestInfo user_interest = 30 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Webpage. + google.ads.googleads.v7.common.WebpageInfo webpage = 31 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Operating system version. + google.ads.googleads.v7.common.OperatingSystemVersionInfo operating_system_version = 32 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile Device. + google.ads.googleads.v7.common.MobileDeviceInfo mobile_device = 33 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location Group + google.ads.googleads.v7.common.LocationGroupInfo location_group = 34 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Affinity. + google.ads.googleads.v7.common.CustomAffinityInfo custom_affinity = 36 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Audience + google.ads.googleads.v7.common.CustomAudienceInfo custom_audience = 41 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Combined Audience. + google.ads.googleads.v7.common.CombinedAudienceInfo combined_audience = 42 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion_simulation.proto new file mode 100644 index 000000000..014ced434 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_criterion_simulation.proto @@ -0,0 +1,84 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/simulation.proto"; +import "google/ads/googleads/v7/enums/simulation_modification_method.proto"; +import "google/ads/googleads/v7/enums/simulation_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionSimulationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. SHOPPING - 30000,30001,30002 - BID_MODIFIER - UNIFORM +// 3. 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.v7.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How the simulation modifies the field. + google.ads.googleads.v7.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.v7.common.BidModifierSimulationPointList bid_modifier_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_draft.proto new file mode 100644 index 000000000..679e6f05e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_draft.proto @@ -0,0 +1,98 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/campaign_draft_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignDraftProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/campaign_experiment.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_experiment.proto new file mode 100644 index 000000000..2b2de83ae --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_experiment.proto @@ -0,0 +1,121 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/campaign_experiment_status.proto"; +import "google/ads/googleads/v7/enums/campaign_experiment_traffic_split_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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/v7/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_extension_setting.proto new file mode 100644 index 000000000..23410e476 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_extension_setting.proto @@ -0,0 +1,79 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/extension_setting_device.proto"; +import "google/ads/googleads/v7/enums/extension_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExtensionSettingProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_feed.proto new file mode 100644 index 000000000..0338aae24 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_feed.proto @@ -0,0 +1,83 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/matching_function.proto"; +import "google/ads/googleads/v7/enums/feed_link_status.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignFeedProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.MatchingFunction matching_function = 5; + + // Output only. Status of the campaign feed. + // This field is read-only. + google.ads.googleads.v7.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_label.proto new file mode 100644 index 000000000..f033235fb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_label.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignLabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_shared_set.proto new file mode 100644 index 000000000..987b30cc0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_shared_set.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/campaign_shared_set_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSharedSetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_simulation.proto new file mode 100644 index 000000000..9f281f9f3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/campaign_simulation.proto @@ -0,0 +1,102 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/simulation.proto"; +import "google/ads/googleads/v7/enums/simulation_modification_method.proto"; +import "google/ads/googleads/v7/enums/simulation_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSimulationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 +// MULTIPLE - TARGET_CPA - UNIFORM +// OWNED_AND_OPERATED - 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.v7.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How the simulation modifies the field. + google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.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.v7.common.BudgetSimulationPointList budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/carrier_constant.proto new file mode 100644 index 000000000..4f9e32c25 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/carrier_constant.proto @@ -0,0 +1,61 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CarrierConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g., "AR", + // "FR", etc. + optional string country_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v7/resources/change_event.proto new file mode 100644 index 000000000..60af08739 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/change_event.proto @@ -0,0 +1,178 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/ad_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_sub_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_type.proto"; +import "google/ads/googleads/v7/enums/change_client_type.proto"; +import "google/ads/googleads/v7/enums/change_event_resource_type.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/ads/googleads/v7/enums/feed_origin.proto"; +import "google/ads/googleads/v7/enums/resource_change_operation.proto"; +import "google/ads/googleads/v7/resources/ad.proto"; +import "google/ads/googleads/v7/resources/ad_group.proto"; +import "google/ads/googleads/v7/resources/ad_group_ad.proto"; +import "google/ads/googleads/v7/resources/ad_group_bid_modifier.proto"; +import "google/ads/googleads/v7/resources/ad_group_criterion.proto"; +import "google/ads/googleads/v7/resources/ad_group_feed.proto"; +import "google/ads/googleads/v7/resources/campaign.proto"; +import "google/ads/googleads/v7/resources/campaign_budget.proto"; +import "google/ads/googleads/v7/resources/campaign_criterion.proto"; +import "google/ads/googleads/v7/resources/campaign_feed.proto"; +import "google/ads/googleads/v7/resources/feed.proto"; +import "google/ads/googleads/v7/resources/feed_item.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/field_mask.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ChangeEventProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. The resource name of the change event. + // Change event resource names have the form: + // + // `customers/{customer_id}/changeEvent/{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.v7.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.v7.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.v7.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" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v7/resources/change_status.proto new file mode 100644 index 000000000..2f188816e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/change_status.proto @@ -0,0 +1,150 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/ad_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_sub_type.proto"; +import "google/ads/googleads/v7/enums/advertising_channel_type.proto"; +import "google/ads/googleads/v7/enums/change_status_operation.proto"; +import "google/ads/googleads/v7/enums/change_status_resource_type.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/ads/googleads/v7/enums/feed_origin.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ChangeStatusProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/click_view.proto new file mode 100644 index 000000000..1e649a79e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/click_view.proto @@ -0,0 +1,108 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/click_location.proto"; +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ClickViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.common.KeywordInfo keyword_info = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v7/resources/combined_audience.proto new file mode 100644 index 000000000..d6e8f09e4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/combined_audience.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/combined_audience_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CombinedAudienceProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v7/resources/conversion_action.proto new file mode 100644 index 000000000..e3377453d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/conversion_action.proto @@ -0,0 +1,176 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/tag_snippet.proto"; +import "google/ads/googleads/v7/enums/attribution_model.proto"; +import "google/ads/googleads/v7/enums/conversion_action_category.proto"; +import "google/ads/googleads/v7/enums/conversion_action_counting_type.proto"; +import "google/ads/googleads/v7/enums/conversion_action_status.proto"; +import "google/ads/googleads/v7/enums/conversion_action_type.proto"; +import "google/ads/googleads/v7/enums/data_driven_model_status.proto"; +import "google/ads/googleads/v7/enums/mobile_app_vendor.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.AttributionModelEnum.AttributionModel attribution_model = 1; + + // Output only. The status of the data-driven attribution model for the conversion + // action. + google.ads.googleads.v7.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]; + } + + // 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.v7.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; + + // Immutable. The type of this conversion action. + google.ads.googleads.v7.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // The category of conversions reported for this conversion action. + google.ads.googleads.v7.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 + // (e.g., 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.v7.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.v7.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.v7.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/v7/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v7/resources/conversion_custom_variable.proto new file mode 100644 index 000000000..35aa1da84 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/conversion_custom_variable.proto @@ -0,0 +1,86 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/conversion_custom_variable_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ConversionCustomVariableProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/currency_constant.proto new file mode 100644 index 000000000..1010793d9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/currency_constant.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CurrencyConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. "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, e.g. '$' 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/v7/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v7/resources/custom_audience.proto new file mode 100644 index 000000000..b7c1fe382 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/custom_audience.proto @@ -0,0 +1,107 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/custom_audience_member_type.proto"; +import "google/ads/googleads/v7/enums/custom_audience_status.proto"; +import "google/ads/googleads/v7/enums/custom_audience_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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/v7/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v7/resources/custom_interest.proto new file mode 100644 index 000000000..f868d9993 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/custom_interest.proto @@ -0,0 +1,89 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/custom_interest_member_type.proto"; +import "google/ads/googleads/v7/enums/custom_interest_status.proto"; +import "google/ads/googleads/v7/enums/custom_interest_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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/v7/resources/customer.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer.proto new file mode 100644 index 000000000..bd41eb631 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer.proto @@ -0,0 +1,161 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/customer_pay_per_conversion_eligibility_failure_reason.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. + 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.v7.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]; +} + +// Call reporting setting for a customer. +message CallReportingSetting { + // Enable reporting of phone call events by redirecting them via 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 is automatically + // assigned after any conversion tracking feature is used. If the customer + // doesn't use conversion tracking, this is 0. 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]; +} + +// Remarketing setting for a customer. +message RemarketingSetting { + // Output only. The Google global site tag. + optional string google_global_site_tag = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_asset.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_asset.proto new file mode 100644 index 000000000..8f178fc7c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_asset.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/asset_field_type.proto"; +import "google/ads/googleads/v7/enums/asset_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerAssetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Status of the customer asset. + google.ads.googleads.v7.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_client.proto new file mode 100644 index 000000000..0d96ddea4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_client.proto @@ -0,0 +1,89 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerClientProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. 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 (e.g. '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]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_client_link.proto new file mode 100644 index 000000000..2b36efb25 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_client_link.proto @@ -0,0 +1,70 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/manager_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerClientLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_extension_setting.proto new file mode 100644 index 000000000..92d9b7735 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_extension_setting.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/extension_setting_device.proto"; +import "google/ads/googleads/v7/enums/extension_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerExtensionSettingProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_feed.proto new file mode 100644 index 000000000..be9844185 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_feed.proto @@ -0,0 +1,75 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/matching_function.proto"; +import "google/ads/googleads/v7/enums/feed_link_status.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerFeedProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.MatchingFunction matching_function = 4; + + // Output only. Status of the customer feed. + // This field is read-only. + google.ads.googleads.v7.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_label.proto new file mode 100644 index 000000000..1e3bb80af --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_label.proto @@ -0,0 +1,72 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerLabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_manager_link.proto new file mode 100644 index 000000000..fd87d987f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_manager_link.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/manager_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerManagerLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_negative_criterion.proto new file mode 100644 index 000000000..4cd1eb158 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_negative_criterion.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerNegativeCriterionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. MobileApplication. + google.ads.googleads.v7.common.MobileApplicationInfo mobile_application = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. MobileAppCategory. + google.ads.googleads.v7.common.MobileAppCategoryInfo mobile_app_category = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Placement. + google.ads.googleads.v7.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Video. + google.ads.googleads.v7.common.YouTubeVideoInfo youtube_video = 8 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Channel. + google.ads.googleads.v7.common.YouTubeChannelInfo youtube_channel = 9 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_user_access.proto new file mode 100644 index 000000000..7842d0992 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_user_access.proto @@ -0,0 +1,72 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/access_role.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerUserAccessProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/customer_user_access_invitation.proto new file mode 100644 index 000000000..635b87ed6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/customer_user_access_invitation.proto @@ -0,0 +1,73 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/access_invitation_status.proto"; +import "google/ads/googleads/v7/enums/access_role.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "CustomerUserAccessInvitationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/detail_placement_view.proto new file mode 100644 index 000000000..93bac697f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/detail_placement_view.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/placement_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "DetailPlacementViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. 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, e.g. 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, e.g. Website, YouTube Video, and Mobile Application. + google.ads.googleads.v7.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/display_keyword_view.proto new file mode 100644 index 000000000..f2d2d0d5d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/display_keyword_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "DisplayKeywordViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/distance_view.proto new file mode 100644 index 000000000..2aebef1ae --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/distance_view.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/distance_bucket.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "DistanceViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v7/resources/domain_category.proto new file mode 100644 index 000000000..5e67a9fcd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/domain_category.proto @@ -0,0 +1,90 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "DomainCategoryProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. e.g. 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. e.g. "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/v7/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/dynamic_search_ads_search_term_view.proto new file mode 100644 index 000000000..d314ac8b7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/dynamic_search_ads_search_term_view.proto @@ -0,0 +1,86 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/expanded_landing_page_view.proto new file mode 100644 index 000000000..1b361b947 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/expanded_landing_page_view.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ExpandedLandingPageViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v7/resources/extension_feed_item.proto new file mode 100644 index 000000000..880a0bd4a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/extension_feed_item.proto @@ -0,0 +1,151 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/common/extensions.proto"; +import "google/ads/googleads/v7/enums/extension_type.proto"; +import "google/ads/googleads/v7/enums/feed_item_status.proto"; +import "google/ads/googleads/v7/enums/feed_item_target_device.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionFeedItemProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.AdScheduleInfo ad_schedules = 16; + + // The targeted device. + google.ads.googleads.v7.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.v7.common.KeywordInfo targeted_keyword = 22; + + // Output only. Status of the feed item. + // This field is read-only. + google.ads.googleads.v7.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Extension type. + oneof extension { + // Sitelink extension. + google.ads.googleads.v7.common.SitelinkFeedItem sitelink_feed_item = 2; + + // Structured snippet extension. + google.ads.googleads.v7.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; + + // App extension. + google.ads.googleads.v7.common.AppFeedItem app_feed_item = 7; + + // Call extension. + google.ads.googleads.v7.common.CallFeedItem call_feed_item = 8; + + // Callout extension. + google.ads.googleads.v7.common.CalloutFeedItem callout_feed_item = 9; + + // Text message extension. + google.ads.googleads.v7.common.TextMessageFeedItem text_message_feed_item = 10; + + // Price extension. + google.ads.googleads.v7.common.PriceFeedItem price_feed_item = 11; + + // Promotion extension. + google.ads.googleads.v7.common.PromotionFeedItem promotion_feed_item = 12; + + // Output only. Location extension. Locations are synced from a GMB account into a feed. + // This field is read-only. + google.ads.googleads.v7.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.v7.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Hotel Callout extension. + google.ads.googleads.v7.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; + + // Immutable. Advertiser provided image extension. + google.ads.googleads.v7.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/v7/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed.proto new file mode 100644 index 000000000..29c3d3f34 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed.proto @@ -0,0 +1,192 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/affiliate_location_feed_relationship_type.proto"; +import "google/ads/googleads/v7/enums/feed_attribute_type.proto"; +import "google/ads/googleads/v7/enums/feed_origin.proto"; +import "google/ads/googleads/v7/enums/feed_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 Google My Business + // Locations. + 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 Google My Business account or email address of a + // manager of the Google My Business account. 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 Google My Business 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 Google My Business 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 Google My Business 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.v7.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.v7.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Status of the feed. + // This field is read-only. + google.ads.googleads.v7.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 Google My Business + // Locations. + 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.v7.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/v7/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item.proto new file mode 100644 index 000000000..9e568e10b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item.proto @@ -0,0 +1,214 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/custom_parameter.proto"; +import "google/ads/googleads/v7/common/feed_common.proto"; +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/feed_item_quality_approval_status.proto"; +import "google/ads/googleads/v7/enums/feed_item_quality_disapproval_reason.proto"; +import "google/ads/googleads/v7/enums/feed_item_status.proto"; +import "google/ads/googleads/v7/enums/feed_item_validation_status.proto"; +import "google/ads/googleads/v7/enums/geo_targeting_restriction.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/ads/googleads/v7/enums/policy_approval_status.proto"; +import "google/ads/googleads/v7/enums/policy_review_status.proto"; +import "google/ads/googleads/v7/errors/feed_item_validation_error.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.CustomParameter url_custom_parameters = 8; + + // Output only. Status of the feed item. + // This field is read-only. + google.ads.googleads.v7.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, e.g. 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.v7.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.v7.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.v7.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.v7.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.v7.common.PolicyTopicEntry policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The validation status of the palceholder type. + google.ads.googleads.v7.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.v7.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.v7.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.v7.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 + // (e.g. 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 (e.g. 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/v7/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_set.proto new file mode 100644 index 000000000..225887ccd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_set.proto @@ -0,0 +1,84 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/feed_item_set_filter_type_infos.proto"; +import "google/ads/googleads/v7/enums/feed_item_set_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_set_link.proto new file mode 100644 index 000000000..a8c73e35a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_set_link.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_target.proto new file mode 100644 index 000000000..6b8337006 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_item_target.proto @@ -0,0 +1,108 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/feed_item_target_device.proto"; +import "google/ads/googleads/v7/enums/feed_item_target_status.proto"; +import "google/ads/googleads/v7/enums/feed_item_target_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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.v7.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.v7.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The targeted schedule. + google.ads.googleads.v7.common.AdScheduleInfo ad_schedule = 10 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/feed_mapping.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_mapping.proto new file mode 100644 index 000000000..17b43be4a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_mapping.proto @@ -0,0 +1,189 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/ad_customizer_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/affiliate_location_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/app_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/call_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/callout_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/custom_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/dsa_page_feed_criterion_field.proto"; +import "google/ads/googleads/v7/enums/education_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/feed_mapping_criterion_type.proto"; +import "google/ads/googleads/v7/enums/feed_mapping_status.proto"; +import "google/ads/googleads/v7/enums/flight_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/hotel_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/image_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/job_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/local_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/location_extension_targeting_criterion_field.proto"; +import "google/ads/googleads/v7/enums/location_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/message_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/ads/googleads/v7/enums/price_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/promotion_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/real_estate_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/sitelink_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/structured_snippet_placeholder_field.proto"; +import "google/ads/googleads/v7/enums/travel_placeholder_field.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedMappingProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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 (i.e., if the mapping maps feed + // attributes to placeholder fields). + google.ads.googleads.v7.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The criterion type of this mapping (i.e., if the mapping maps feed + // attributes to criterion fields). + google.ads.googleads.v7.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.v7.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Call Placeholder Fields. + google.ads.googleads.v7.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. App Placeholder Fields. + google.ads.googleads.v7.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Location Placeholder Fields. This field is read-only. + google.ads.googleads.v7.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.v7.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Callout Placeholder Fields. + google.ads.googleads.v7.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Structured Snippet Placeholder Fields. + google.ads.googleads.v7.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Message Placeholder Fields. + google.ads.googleads.v7.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Price Placeholder Fields. + google.ads.googleads.v7.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Promotion Placeholder Fields. + google.ads.googleads.v7.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Ad Customizer Placeholder Fields + google.ads.googleads.v7.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Dynamic Search Ad Page Feed Fields. + google.ads.googleads.v7.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location Target Fields. + google.ads.googleads.v7.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Education Placeholder Fields + google.ads.googleads.v7.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Flight Placeholder Fields + google.ads.googleads.v7.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Custom Placeholder Fields + google.ads.googleads.v7.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Hotel Placeholder Fields + google.ads.googleads.v7.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Real Estate Placeholder Fields + google.ads.googleads.v7.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Travel Placeholder Fields + google.ads.googleads.v7.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Local Placeholder Fields + google.ads.googleads.v7.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Job Placeholder Fields + google.ads.googleads.v7.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Image Placeholder Fields + google.ads.googleads.v7.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/feed_placeholder_view.proto new file mode 100644 index 000000000..7e54f29b1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/feed_placeholder_view.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/placeholder_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "FeedPlaceholderViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/gender_view.proto new file mode 100644 index 000000000..bc19b7f6d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/gender_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "GenderViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/geo_target_constant.proto new file mode 100644 index 000000000..702bb9e07 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/geo_target_constant.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/geo_target_constant_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/geographic_view.proto new file mode 100644 index 000000000..6c7fadb33 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/geographic_view.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/geo_targeting_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "GeographicViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v7/resources/google_ads_field.proto new file mode 100644 index 000000000..67b1e01b6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/google_ads_field.proto @@ -0,0 +1,117 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/google_ads_field_category.proto"; +import "google/ads/googleads/v7/enums/google_ads_field_data_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "GoogleAdsFieldProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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. At and beyond version V1 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. + // + // Before version V1 this field lists the names of all metrics that are + // selectable with the described artifact. It is only set for artifacts whose + // category is either RESOURCE or SEGMENT + repeated string metrics = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. At and beyond version V1 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. + // + // Before version V1 this field lists the names of all artifacts, whether a + // segment or another resource, that segment metrics when included in search + // queries. It is only set for artifacts of category RESOURCE, SEGMENT or + // METRIC. + 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.v7.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/v7/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/group_placement_view.proto new file mode 100644 index 000000000..3e57e9ea8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/group_placement_view.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/placement_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "GroupPlacementViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. 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, e.g. Website, YouTube Channel, Mobile Application. + google.ads.googleads.v7.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/hotel_group_view.proto new file mode 100644 index 000000000..8342c265b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/hotel_group_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "HotelGroupViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/hotel_performance_view.proto new file mode 100644 index 000000000..aac3a138c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/hotel_performance_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "HotelPerformanceViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/income_range_view.proto new file mode 100644 index 000000000..e7790b7d5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/income_range_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "IncomeRangeViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/invoice.proto b/third_party/googleapis/google/ads/googleads/v7/resources/invoice.proto new file mode 100644 index 000000000..bff4d389f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/invoice.proto @@ -0,0 +1,203 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/dates.proto"; +import "google/ads/googleads/v7/enums/invoice_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "InvoiceProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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, e.g. "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, e.g. "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.v7.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/v7/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan.proto new file mode 100644 index 000000000..fade32bd5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/dates.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_forecast_interval.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; + + // The custom date range used for forecasting. + // 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.v7.common.DateRange date_range = 2; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_ad_group.proto new file mode 100644 index 000000000..0cb076c57 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_ad_group.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_ad_group_keyword.proto new file mode 100644 index 000000000..fb56e9308 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_ad_group_keyword.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/keyword_match_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; + + // A keyword level max cpc bid in micros (e.g. $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/v7/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_campaign.proto new file mode 100644 index 000000000..a85d6d6ac --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_campaign.proto @@ -0,0 +1,98 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/keyword_plan_network.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_campaign_keyword.proto new file mode 100644 index 000000000..81d8c42ea --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_plan_campaign_keyword.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/keyword_match_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignKeywordProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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/v7/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_view.proto new file mode 100644 index 000000000..7509ff49b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/keyword_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "KeywordViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/label.proto b/third_party/googleapis/google/ads/googleads/v7/resources/label.proto new file mode 100644 index 000000000..ed8adfc06 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/label.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/text_label.proto"; +import "google/ads/googleads/v7/enums/label_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "LabelProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A type of label displaying text on a colored background. + google.ads.googleads.v7.common.TextLabel text_label = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/landing_page_view.proto new file mode 100644 index 000000000..dcd9ace72 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/landing_page_view.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "LandingPageViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/language_constant.proto new file mode 100644 index 000000000..3c9c70cb7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/language_constant.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "LanguageConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. "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, e.g., "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/v7/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v7/resources/life_event.proto new file mode 100644 index 000000000..3110f6cec --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/life_event.proto @@ -0,0 +1,73 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criterion_category_availability.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "LifeEventProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. E.g.,"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.v7.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/location_view.proto new file mode 100644 index 000000000..ac4366b6c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/location_view.proto @@ -0,0 +1,52 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "LocationViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/managed_placement_view.proto new file mode 100644 index 000000000..c13d5297d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/managed_placement_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ManagedPlacementViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v7/resources/media_file.proto new file mode 100644 index 000000000..8f0429b3d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/media_file.proto @@ -0,0 +1,137 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/media_type.proto"; +import "google/ads/googleads/v7/enums/mime_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "MediaFileProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The mime type of the media file. + google.ads.googleads.v7.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. + // E.g. 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/v7/resources/merchant_center_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/merchant_center_link.proto new file mode 100644 index 000000000..07b757325 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/merchant_center_link.proto @@ -0,0 +1,64 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/merchant_center_link_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "MerchantCenterLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus status = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/mobile_app_category_constant.proto new file mode 100644 index 000000000..ebcab086c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/mobile_app_category_constant.proto @@ -0,0 +1,57 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "MobileAppCategoryConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/mobile_device_constant.proto new file mode 100644 index 000000000..046fbe549 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/mobile_device_constant.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/mobile_device_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "MobileDeviceConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v7/resources/offline_user_data_job.proto new file mode 100644 index 000000000..c2a4d1188 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/offline_user_data_job.proto @@ -0,0 +1,82 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/offline_user_data.proto"; +import "google/ads/googleads/v7/enums/offline_user_data_job_failure_reason.proto"; +import "google/ads/googleads/v7/enums/offline_user_data_job_status.proto"; +import "google/ads/googleads/v7/enums/offline_user_data_job_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 +// OfflineUserDataJobService.GetOfflineUserDataJob. +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.v7.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Status of the job. + google.ads.googleads.v7.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.v7.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(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.v7.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Metadata for store sales data update. + google.ads.googleads.v7.common.StoreSalesMetadata store_sales_metadata = 8 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/operating_system_version_constant.proto new file mode 100644 index 000000000..0eced1f81 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/operating_system_version_constant.proto @@ -0,0 +1,70 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/operating_system_version_operator_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "OperatingSystemVersionConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/adwords/api/docs/appendix/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.v7.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/paid_organic_search_term_view.proto new file mode 100644 index 000000000..ae7349a1f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/paid_organic_search_term_view.proto @@ -0,0 +1,56 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "PaidOrganicSearchTermViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/parental_status_view.proto new file mode 100644 index 000000000..16a21c2bc --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/parental_status_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ParentalStatusViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v7/resources/payments_account.proto new file mode 100644 index 000000000..10b0d73b6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/payments_account.proto @@ -0,0 +1,78 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "PaymentsAccountProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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, e.g. + // 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/v7/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/product_bidding_category_constant.proto new file mode 100644 index 000000000..cf2e762cd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/product_bidding_category_constant.proto @@ -0,0 +1,83 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/product_bidding_category_level.proto"; +import "google/ads/googleads/v7/enums/product_bidding_category_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ProductBiddingCategoryConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Status of the product bidding category. + google.ads.googleads.v7.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/v7/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/product_group_view.proto new file mode 100644 index 000000000..176b8e955 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/product_group_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ProductGroupViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/recommendation.proto b/third_party/googleapis/google/ads/googleads/v7/resources/recommendation.proto new file mode 100644 index 000000000..452cef750 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/recommendation.proto @@ -0,0 +1,350 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/common/extensions.proto"; +import "google/ads/googleads/v7/enums/keyword_match_type.proto"; +import "google/ads/googleads/v7/enums/recommendation_type.proto"; +import "google/ads/googleads/v7/enums/target_cpa_opt_in_recommendation_goal.proto"; +import "google/ads/googleads/v7/resources/ad.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "RecommendationProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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 Call extension recommendation. + message CallExtensionRecommendation { + // Output only. Call extensions recommended to be added. + repeated google.ads.googleads.v7.common.CallFeedItem recommended_extensions = 1 [(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, e.g., 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, e.g., 2018-04-17. + optional string auto_apply_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The Optimize Ad Rotation recommendation. + message OptimizeAdRotationRecommendation { + + } + + // 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.v7.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 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 Enhanced Cost-Per-Click Opt-In recommendation. + message EnhancedCpcOptInRecommendation { + + } + + // 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 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 Search Partners Opt-In recommendation. + message SearchPartnersOptInRecommendation { + + } + + // The Sitelink extension recommendation. + message SitelinkExtensionRecommendation { + // Output only. Sitelink extensions recommended to be added. + repeated google.ads.googleads.v7.common.SitelinkFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // 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 Callout extension recommendation. + message CalloutExtensionRecommendation { + // Output only. Callout extensions recommended to be added. + repeated google.ads.googleads.v7.common.CalloutFeedItem 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.v7.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The recommended new match type. + google.ads.googleads.v7.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 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]; + } + + // 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.v7.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, KEYWORD, + // KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + // OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, SEARCH_PARTNERS_OPT_IN, + // SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD + 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, 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]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v7/resources/remarketing_action.proto new file mode 100644 index 000000000..67441ea33 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/remarketing_action.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/tag_snippet.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "RemarketingActionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.common.TagSnippet tag_snippets = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/search_term_view.proto new file mode 100644 index 000000000..9572fc1f9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/search_term_view.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/search_term_targeting_status.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "SearchTermViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v7/resources/shared_criterion.proto new file mode 100644 index 000000000..c80d3b41a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/shared_criterion.proto @@ -0,0 +1,92 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/criterion_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "SharedCriterionProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Video. + google.ads.googleads.v7.common.YouTubeVideoInfo youtube_video = 5 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. YouTube Channel. + google.ads.googleads.v7.common.YouTubeChannelInfo youtube_channel = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Placement. + google.ads.googleads.v7.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile App Category. + google.ads.googleads.v7.common.MobileAppCategoryInfo mobile_app_category = 8 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Mobile application. + google.ads.googleads.v7.common.MobileApplicationInfo mobile_application = 9 [(google.api.field_behavior) = IMMUTABLE]; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v7/resources/shared_set.proto new file mode 100644 index 000000000..3f4ab0b9b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/shared_set.proto @@ -0,0 +1,77 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/enums/shared_set_status.proto"; +import "google/ads/googleads/v7/enums/shared_set_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "SharedSetProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.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/v7/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/shopping_performance_view.proto new file mode 100644 index 000000000..2218f5e0c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/shopping_performance_view.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ShoppingPerformanceViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v7/resources/third_party_app_analytics_link.proto new file mode 100644 index 000000000..5c0e71ecb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/third_party_app_analytics_link.proto @@ -0,0 +1,55 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v7/resources/topic_constant.proto new file mode 100644 index 000000000..f91308548 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/topic_constant.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "TopicConstantProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/topic_view.proto new file mode 100644 index 000000000..5782dc91c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/topic_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "TopicViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v7/resources/user_interest.proto new file mode 100644 index 000000000..2cc674687 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/user_interest.proto @@ -0,0 +1,76 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/criterion_category_availability.proto"; +import "google/ads/googleads/v7/enums/user_interest_taxonomy_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "UserInterestProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.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.v7.common.CriterionCategoryAvailability availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v7/resources/user_list.proto new file mode 100644 index 000000000..79bce0a93 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/user_list.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.resources; + +import "google/ads/googleads/v7/common/user_lists.proto"; +import "google/ads/googleads/v7/enums/access_reason.proto"; +import "google/ads/googleads/v7/enums/user_list_access_status.proto"; +import "google/ads/googleads/v7/enums/user_list_closing_reason.proto"; +import "google/ads/googleads/v7/enums/user_list_membership_status.proto"; +import "google/ads/googleads/v7/enums/user_list_size_range.proto"; +import "google/ads/googleads/v7/enums/user_list_type.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "UserListProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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. A flag 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 (e.g. 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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.common.SimilarUserListInfo similar_user_list = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User list generated by a rule. + google.ads.googleads.v7.common.RuleBasedUserListInfo rule_based_user_list = 21; + + // User list that is a custom combination of user lists and user interests. + google.ads.googleads.v7.common.LogicalUserListInfo logical_user_list = 22; + + // User list targeting as a collection of conversion or remarketing actions. + google.ads.googleads.v7.common.BasicUserListInfo basic_user_list = 23; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/user_location_view.proto new file mode 100644 index 000000000..9a45d8ebe --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/user_location_view.proto @@ -0,0 +1,62 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "UserLocationViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/video.proto b/third_party/googleapis/google/ads/googleads/v7/resources/video.proto new file mode 100644 index 000000000..e1f6b70ae --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/video.proto @@ -0,0 +1,63 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "VideoProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v7/resources/webpage_view.proto new file mode 100644 index 000000000..32c1eb688 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/resources/webpage_view.proto @@ -0,0 +1,51 @@ +// 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.ads.googleads.v7.resources; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Resources"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources;resources"; +option java_multiple_files = true; +option java_outer_classname = "WebpageViewProto"; +option java_package = "com.google.ads.googleads.v7.resources"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Resources"; +option ruby_package = "Google::Ads::GoogleAds::V7::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/v7/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v7/services/BUILD.bazel new file mode 100644 index 000000000..5a8763d6d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/BUILD.bazel @@ -0,0 +1,138 @@ +# 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/v7/common:common_proto", + "//google/ads/googleads/v7/enums:enums_proto", + "//google/ads/googleads/v7/errors:errors_proto", + "//google/ads/googleads/v7/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( + "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.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( + "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.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/v7/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/account_budget_proposal_service.proto new file mode 100644 index 000000000..3db7dab91 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/account_budget_proposal_service.proto @@ -0,0 +1,161 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetProposalServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AccountBudgetProposal service. + +// A service for managing account-level budgets via proposals. +// +// A proposal is a request to create a new budget or make changes to an +// existing one. +// +// Reads for account-level budgets managed by these proposals will be +// supported in a future version. Until then, please use the +// BudgetOrderService from the AdWords API. Learn more at +// https://developers.google.com/adwords/api/docs/guides/budget-order +// +// 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"; + + // Returns an account-level budget proposal in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAccountBudgetProposal(GetAccountBudgetProposalRequest) returns (google.ads.googleads.v7.resources.AccountBudgetProposal) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/accountBudgetProposals/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/accountBudgetProposals:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for +// [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v7.services.AccountBudgetProposalService.GetAccountBudgetProposal]. +message GetAccountBudgetProposalRequest { + // Required. The resource name of the account-level budget proposal to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AccountBudgetProposal" + } + ]; +} + +// Request message for +// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v7.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.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/account_budget_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/account_budget_service.proto new file mode 100644 index 000000000..84c5f1f29 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/account_budget_service.proto @@ -0,0 +1,70 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/account_budget.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AccountBudgetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AccountBudget service. + +// A service for fetching an account-level budget. +// +// Account-level budgets are mutated by creating proposal resources. +service AccountBudgetService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns an account-level budget in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAccountBudget(GetAccountBudgetRequest) returns (google.ads.googleads.v7.resources.AccountBudget) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/accountBudgets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [AccountBudgetService.GetAccountBudget][google.ads.googleads.v7.services.AccountBudgetService.GetAccountBudget]. +message GetAccountBudgetRequest { + // Required. The resource name of the account-level budget to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AccountBudget" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/account_link_service.proto new file mode 100644 index 000000000..c106b4f10 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/account_link_service.proto @@ -0,0 +1,178 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AccountLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the account link in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAccountLink(GetAccountLinkRequest) returns (google.ads.googleads.v7.resources.AccountLink) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/accountLinks/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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. Please 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: "/v7/customers/{customer_id=*}/accountLinks:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for [AccountLinkService.GetAccountLink][google.ads.googleads.v7.services.AccountLinkService.GetAccountLink]. +message GetAccountLinkRequest { + // Required. Resource name of the account link. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AccountLink" + } + ]; +} + +// Request message for +// [AccountLinkService.CreateAccountLink][google.ads.googleads.v7.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.v7.resources.AccountLink account_link = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [AccountLinkService.CreateAccountLink][google.ads.googleads.v7.services.AccountLinkService.CreateAccountLink]. +message CreateAccountLinkResponse { + // Returned for successful operations. Resource name of the account link. + string resource_name = 1; +} + +// Request message for [AccountLinkService.MutateAccountLink][google.ads.googleads.v7.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.v7.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; + } +} + +// Response message for account link mutate. +message MutateAccountLinkResponse { + // Result for the mutate. + MutateAccountLinkResult result = 1; +} + +// The result for the account link mutate. +message MutateAccountLinkResult { + // Returned for successful operations. + string resource_name = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_asset_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_asset_view_service.proto new file mode 100644 index 000000000..803a4a4ba --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_asset_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/ad_group_ad_asset_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdAssetViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the ad group ad asset view service. + +// Service to fetch ad group ad asset views. +service AdGroupAdAssetViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested ad group ad asset view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupAdAssetView(GetAdGroupAdAssetViewRequest) returns (google.ads.googleads.v7.resources.AdGroupAdAssetView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupAdAssetViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v7.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView]. +message GetAdGroupAdAssetViewRequest { + // Required. The resource name of the ad group ad asset view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupAdAssetView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_label_service.proto new file mode 100644 index 000000000..8b9ab441c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_label_service.proto @@ -0,0 +1,144 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdLabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group ad label in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupAdLabel(GetAdGroupAdLabelRequest) returns (google.ads.googleads.v7.resources.AdGroupAdLabel) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupAdLabels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupAdLabels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v7.services.AdGroupAdLabelService.GetAdGroupAdLabel]. +message GetAdGroupAdLabelRequest { + // Required. The resource name of the ad group ad label to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupAdLabel" + } + ]; +} + +// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v7.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.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_service.proto new file mode 100644 index 000000000..797dae0b0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_ad_service.proto @@ -0,0 +1,195 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAdServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupAd(GetAdGroupAdRequest) returns (google.ads.googleads.v7.resources.AdGroupAd) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupAds/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupAds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v7.services.AdGroupAdService.GetAdGroupAd]. +message GetAdGroupAdRequest { + // 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/AdGroupAd" + } + ]; +} + +// Request message for [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v7.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.v7.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.v7.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.v7.resources.AdGroupAd create = 1; + + // Update operation: The ad is expected to have a valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroupAd ad_group_ad = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_asset_service.proto new file mode 100644 index 000000000..9f89f8384 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_asset_service.proto @@ -0,0 +1,152 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAssetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group asset in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupAsset(GetAdGroupAssetRequest) returns (google.ads.googleads.v7.resources.AdGroupAsset) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupAssets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupAssets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupAssetService.GetAdGroupAsset][google.ads.googleads.v7.services.AdGroupAssetService.GetAdGroupAsset]. +message GetAdGroupAssetRequest { + // Required. The resource name of the ad group asset to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupAsset" + } + ]; +} + +// Request message for [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v7.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; +} + +// 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.v7.resources.AdGroupAsset create = 1; + + // Update operation: The ad group asset is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_audience_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_audience_view_service.proto new file mode 100644 index 000000000..5e4e5f328 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_audience_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/ad_group_audience_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupAudienceViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AdGroup Audience View service. + +// Service to manage ad group audience views. +service AdGroupAudienceViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested ad group audience view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupAudienceView(GetAdGroupAudienceViewRequest) returns (google.ads.googleads.v7.resources.AdGroupAudienceView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupAudienceViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [AdGroupAudienceViewService.GetAdGroupAudienceView][google.ads.googleads.v7.services.AdGroupAudienceViewService.GetAdGroupAudienceView]. +message GetAdGroupAudienceViewRequest { + // Required. The resource name of the ad group audience view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupAudienceView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_bid_modifier_service.proto new file mode 100644 index 000000000..1702bed3f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_bid_modifier_service.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupBidModifierServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group bid modifier in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupBidModifier(GetAdGroupBidModifierRequest) returns (google.ads.googleads.v7.resources.AdGroupBidModifier) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupBidModifiers/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupBidModifiers:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v7.services.AdGroupBidModifierService.GetAdGroupBidModifier]. +message GetAdGroupBidModifierRequest { + // Required. The resource name of the ad group bid modifier to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupBidModifier" + } + ]; +} + +// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v7.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.v7.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.v7.resources.AdGroupBidModifier create = 1; + + // Update operation: The ad group bid modifier is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroupBidModifier ad_group_bid_modifier = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_label_service.proto new file mode 100644 index 000000000..6aac7ec24 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_label_service.proto @@ -0,0 +1,143 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionLabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group criterion label in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupCriterionLabel(GetAdGroupCriterionLabelRequest) returns (google.ads.googleads.v7.resources.AdGroupCriterionLabel) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupCriterionLabels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v7.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. +message GetAdGroupCriterionLabelRequest { + // Required. The resource name of the ad group criterion label to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupCriterionLabel" + } + ]; +} + +// Request message for +// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v7.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.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_service.proto new file mode 100644 index 000000000..675d58f11 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_service.proto @@ -0,0 +1,194 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested criterion in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupCriterion(GetAdGroupCriterionRequest) returns (google.ads.googleads.v7.resources.AdGroupCriterion) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupCriteria/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupCriteria:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v7.services.AdGroupCriterionService.GetAdGroupCriterion]. +message GetAdGroupCriterionRequest { + // Required. The resource name of the criterion to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupCriterion" + } + ]; +} + +// Request message for [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v7.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.v7.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, please 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.v7.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.v7.resources.AdGroupCriterion create = 1; + + // Update operation: The criterion is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroupCriterion ad_group_criterion = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_simulation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_simulation_service.proto new file mode 100644 index 000000000..2d1de9769 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_criterion_simulation_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/ad_group_criterion_simulation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupCriterionSimulationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AdGroupCriterionSimulation service. + +// Service to fetch ad group criterion simulations. +service AdGroupCriterionSimulationService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested ad group criterion simulation in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupCriterionSimulation(GetAdGroupCriterionSimulationRequest) returns (google.ads.googleads.v7.resources.AdGroupCriterionSimulation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupCriterionSimulations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v7.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation]. +message GetAdGroupCriterionSimulationRequest { + // Required. The resource name of the ad group criterion simulation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupCriterionSimulation" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_extension_setting_service.proto new file mode 100644 index 000000000..e6378108a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_extension_setting_service.proto @@ -0,0 +1,183 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupExtensionSettingServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group extension setting in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupExtensionSetting(GetAdGroupExtensionSettingRequest) returns (google.ads.googleads.v7.resources.AdGroupExtensionSetting) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupExtensionSettings/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v7.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. +message GetAdGroupExtensionSettingRequest { + // Required. The resource name of the ad group extension setting to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupExtensionSetting" + } + ]; +} + +// Request message for +// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v7.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.v7.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.v7.resources.AdGroupExtensionSetting create = 1; + + // Update operation: The ad group extension setting is expected to have a + // valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_feed_service.proto new file mode 100644 index 000000000..f7cf3950b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_feed_service.proto @@ -0,0 +1,172 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupFeedServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group feed in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupFeed(GetAdGroupFeedRequest) returns (google.ads.googleads.v7.resources.AdGroupFeed) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupFeeds/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupFeeds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v7.services.AdGroupFeedService.GetAdGroupFeed]. +message GetAdGroupFeedRequest { + // Required. The resource name of the ad group feed to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupFeed" + } + ]; +} + +// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v7.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.v7.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.v7.resources.AdGroupFeed create = 1; + + // Update operation: The ad group feed is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroupFeed ad_group_feed = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_label_service.proto new file mode 100644 index 000000000..9839a3ca7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_label_service.proto @@ -0,0 +1,144 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupLabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group label in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupLabel(GetAdGroupLabelRequest) returns (google.ads.googleads.v7.resources.AdGroupLabel) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupLabels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroupLabels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupLabelService.GetAdGroupLabel][google.ads.googleads.v7.services.AdGroupLabelService.GetAdGroupLabel]. +message GetAdGroupLabelRequest { + // Required. The resource name of the ad group label to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupLabel" + } + ]; +} + +// Request message for [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v7.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.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_service.proto new file mode 100644 index 000000000..22c88a569 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_service.proto @@ -0,0 +1,178 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad group in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroup(GetAdGroupRequest) returns (google.ads.googleads.v7.resources.AdGroup) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroups/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adGroups:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdGroupService.GetAdGroup][google.ads.googleads.v7.services.AdGroupService.GetAdGroup]. +message GetAdGroupRequest { + // Required. The resource name of the ad group to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroup" + } + ]; +} + +// Request message for [AdGroupService.MutateAdGroups][google.ads.googleads.v7.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.v7.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.v7.resources.AdGroup create = 1; + + // Update operation: The ad group is expected to have a valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdGroup ad_group = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_group_simulation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_simulation_service.proto new file mode 100644 index 000000000..68bd817a0 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_group_simulation_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/ad_group_simulation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdGroupSimulationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AdGroupSimulation service. + +// Service to fetch ad group simulations. +service AdGroupSimulationService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested ad group simulation in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdGroupSimulation(GetAdGroupSimulationRequest) returns (google.ads.googleads.v7.resources.AdGroupSimulation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adGroupSimulations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v7.services.AdGroupSimulationService.GetAdGroupSimulation]. +message GetAdGroupSimulationRequest { + // Required. The resource name of the ad group simulation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdGroupSimulation" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_parameter_service.proto new file mode 100644 index 000000000..efa8766a2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_parameter_service.proto @@ -0,0 +1,162 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdParameterServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested ad parameter in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdParameter(GetAdParameterRequest) returns (google.ads.googleads.v7.resources.AdParameter) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adParameters/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/adParameters:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdParameterService.GetAdParameter][google.ads.googleads.v7.services.AdParameterService.GetAdParameter] +message GetAdParameterRequest { + // Required. The resource name of the ad parameter to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdParameter" + } + ]; +} + +// Request message for [AdParameterService.MutateAdParameters][google.ads.googleads.v7.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.v7.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.v7.resources.AdParameter create = 1; + + // Update operation: The ad parameter is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.AdParameter ad_parameter = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_schedule_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_schedule_view_service.proto new file mode 100644 index 000000000..93eacbc66 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_schedule_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/ad_schedule_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdScheduleViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the AdSchedule View service. + +// Service to fetch ad schedule views. +service AdScheduleViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested ad schedule view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAdScheduleView(GetAdScheduleViewRequest) returns (google.ads.googleads.v7.resources.AdScheduleView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/adScheduleViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v7.services.AdScheduleViewService.GetAdScheduleView]. +message GetAdScheduleViewRequest { + // Required. The resource name of the ad schedule view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AdScheduleView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/ad_service.proto new file mode 100644 index 000000000..5899ae47d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/ad_service.proto @@ -0,0 +1,184 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/policy.proto"; +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AdServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.resources.Ad) { + option (google.api.http) = { + get: "/v7/{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: "/v7/customers/{customer_id=*}/ads:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AdService.GetAd][google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.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 (e.g. 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; + + // 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.v7.resources.Ad ad = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/age_range_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/age_range_view_service.proto new file mode 100644 index 000000000..86a6c16fd --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/age_range_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/age_range_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AgeRangeViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Age Range View service. + +// Service to manage age range views. +service AgeRangeViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested age range view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAgeRangeView(GetAgeRangeViewRequest) returns (google.ads.googleads.v7.resources.AgeRangeView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/ageRangeViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v7.services.AgeRangeViewService.GetAgeRangeView]. +message GetAgeRangeViewRequest { + // Required. The resource name of the age range view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/AgeRangeView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/asset_service.proto new file mode 100644 index 000000000..234b0b3c3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/asset_service.proto @@ -0,0 +1,175 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "AssetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested asset in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetAsset(GetAssetRequest) returns (google.ads.googleads.v7.resources.Asset) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/assets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/assets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [AssetService.GetAsset][google.ads.googleads.v7.services.AssetService.GetAsset] +message GetAssetRequest { + // Required. The resource name of the asset to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Asset" + } + ]; +} + +// Request message for [AssetService.MutateAssets][google.ads.googleads.v7.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.v7.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.v7.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.v7.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 (e.g. 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; + + // 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.v7.resources.Asset asset = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/batch_job_service.proto new file mode 100644 index 000000000..f9c6d822a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/batch_job_service.proto @@ -0,0 +1,286 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/resources/batch_job.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "BatchJobServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/customers/{customer_id=*}/batchJobs:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } + + // Returns the batch job. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetBatchJob(GetBatchJobRequest) returns (google.ads.googleads.v7.resources.BatchJob) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/batchJobs/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/{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: "/v7/{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.v7.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: "/v7/{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.v7.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.v7.resources.BatchJob create = 1; + } +} + +// Response message for [BatchJobService.MutateBatchJob][google.ads.googleads.v7.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; +} + +// Request message for [BatchJobService.GetBatchJob][google.ads.googleads.v7.services.BatchJobService.GetBatchJob]. +message GetBatchJobRequest { + // Required. The resource name of the batch job to get. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/BatchJob" + } + ]; +} + +// Request message for [BatchJobService.RunBatchJob][google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; +} + +// Response message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v7.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/v7/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/bidding_strategy_service.proto new file mode 100644 index 000000000..53fb77533 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/bidding_strategy_service.proto @@ -0,0 +1,177 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategyServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested bidding strategy in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetBiddingStrategy(GetBiddingStrategyRequest) returns (google.ads.googleads.v7.resources.BiddingStrategy) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/biddingStrategies/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/biddingStrategies:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v7.services.BiddingStrategyService.GetBiddingStrategy]. +message GetBiddingStrategyRequest { + // Required. The resource name of the bidding strategy to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/BiddingStrategy" + } + ]; +} + +// Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v7.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.v7.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.v7.resources.BiddingStrategy create = 1; + + // Update operation: The bidding strategy is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.BiddingStrategy bidding_strategy = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/bidding_strategy_simulation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/bidding_strategy_simulation_service.proto new file mode 100644 index 000000000..aa8bc64d4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/bidding_strategy_simulation_service.proto @@ -0,0 +1,60 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/bidding_strategy_simulation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "BiddingStrategySimulationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the BiddingStrategySimulation service. + +// Service to fetch bidding strategy simulations. +service BiddingStrategySimulationService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested bidding strategy simulation in full detail. + rpc GetBiddingStrategySimulation(GetBiddingStrategySimulationRequest) returns (google.ads.googleads.v7.resources.BiddingStrategySimulation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/biddingStrategySimulations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [BiddingStrategySimulationService.GetBiddingStrategySimulation][google.ads.googleads.v7.services.BiddingStrategySimulationService.GetBiddingStrategySimulation]. +message GetBiddingStrategySimulationRequest { + // Required. The resource name of the bidding strategy simulation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/BiddingStrategySimulation" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/billing_setup_service.proto new file mode 100644 index 000000000..86d8793aa --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/billing_setup_service.proto @@ -0,0 +1,136 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "BillingSetupServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns a billing setup. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetBillingSetup(GetBillingSetupRequest) returns (google.ads.googleads.v7.resources.BillingSetup) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/billingSetups/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/billingSetups:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for +// [BillingSetupService.GetBillingSetup][google.ads.googleads.v7.services.BillingSetupService.GetBillingSetup]. +message GetBillingSetupRequest { + // Required. The resource name of the billing setup to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/BillingSetup" + } + ]; +} + +// 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.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_asset_service.proto new file mode 100644 index 000000000..18fd626a4 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_asset_service.proto @@ -0,0 +1,153 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignAssetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign asset in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignAsset(GetCampaignAssetRequest) returns (google.ads.googleads.v7.resources.CampaignAsset) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignAssets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignAssets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignAssetService.GetCampaignAsset][google.ads.googleads.v7.services.CampaignAssetService.GetCampaignAsset]. +message GetCampaignAssetRequest { + // Required. The resource name of the campaign asset to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignAsset" + } + ]; +} + +// Request message for [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v7.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; +} + +// 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.v7.resources.CampaignAsset create = 1; + + // Update operation: The campaign asset is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_audience_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_audience_view_service.proto new file mode 100644 index 000000000..966e0864d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_audience_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/campaign_audience_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignAudienceViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Campaign Audience View service. + +// Service to manage campaign audience views. +service CampaignAudienceViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested campaign audience view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignAudienceView(GetCampaignAudienceViewRequest) returns (google.ads.googleads.v7.resources.CampaignAudienceView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignAudienceViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v7.services.CampaignAudienceViewService.GetCampaignAudienceView]. +message GetCampaignAudienceViewRequest { + // Required. The resource name of the campaign audience view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignAudienceView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_bid_modifier_service.proto new file mode 100644 index 000000000..0c93cab28 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_bid_modifier_service.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignBidModifierServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign bid modifier in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignBidModifier(GetCampaignBidModifierRequest) returns (google.ads.googleads.v7.resources.CampaignBidModifier) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignBidModifiers/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignBidModifiers:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v7.services.CampaignBidModifierService.GetCampaignBidModifier]. +message GetCampaignBidModifierRequest { + // Required. The resource name of the campaign bid modifier to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignBidModifier" + } + ]; +} + +// Request message for +// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v7.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.v7.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.v7.resources.CampaignBidModifier create = 1; + + // Update operation: The campaign bid modifier is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignBidModifier campaign_bid_modifier = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_budget_service.proto new file mode 100644 index 000000000..5c4cebd23 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_budget_service.proto @@ -0,0 +1,167 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignBudgetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested Campaign Budget in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignBudget(GetCampaignBudgetRequest) returns (google.ads.googleads.v7.resources.CampaignBudget) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignBudgets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignBudgets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v7.services.CampaignBudgetService.GetCampaignBudget]. +message GetCampaignBudgetRequest { + // Required. The resource name of the campaign budget to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignBudget" + } + ]; +} + +// Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v7.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.v7.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.v7.resources.CampaignBudget create = 1; + + // Update operation: The campaign budget is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignBudget campaign_budget = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_service.proto new file mode 100644 index 000000000..dc50b7682 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_service.proto @@ -0,0 +1,178 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested criterion in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignCriterion(GetCampaignCriterionRequest) returns (google.ads.googleads.v7.resources.CampaignCriterion) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignCriteria/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignCriteria:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v7.services.CampaignCriterionService.GetCampaignCriterion]. +message GetCampaignCriterionRequest { + // Required. The resource name of the criterion to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignCriterion" + } + ]; +} + +// Request message for [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v7.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.v7.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.v7.resources.CampaignCriterion create = 1; + + // Update operation: The criterion is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignCriterion campaign_criterion = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_simulation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_simulation_service.proto new file mode 100644 index 000000000..059a4a12a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_criterion_simulation_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/campaign_criterion_simulation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignCriterionSimulationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the CampaignCriterionSimulation service. + +// Service to fetch campaign criterion simulations. +service CampaignCriterionSimulationService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested campaign criterion simulation in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignCriterionSimulation(GetCampaignCriterionSimulationRequest) returns (google.ads.googleads.v7.resources.CampaignCriterionSimulation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignCriterionSimulations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v7.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. +message GetCampaignCriterionSimulationRequest { + // Required. The resource name of the campaign criterion simulation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignCriterionSimulation" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_draft_service.proto new file mode 100644 index 000000000..96ad0ef29 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_draft_service.proto @@ -0,0 +1,254 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignDraftServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign draft in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignDraft(GetCampaignDraftRequest) returns (google.ads.googleads.v7.resources.CampaignDraft) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignDrafts/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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.v7.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: "/v7/{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: "/v7/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v7.services.CampaignDraftService.GetCampaignDraft]. +message GetCampaignDraftRequest { + // Required. The resource name of the campaign draft to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignDraft" + } + ]; +} + +// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v7.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.v7.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; +} + +// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v7.services.CampaignDraftService.PromoteCampaignDraft]. +message PromoteCampaignDraftRequest { + // Required. The resource name of the campaign draft to promote. + string campaign_draft = 1 [(google.api.field_behavior) = REQUIRED]; + + // 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.v7.resources.CampaignDraft create = 1; + + // Update operation: The campaign draft is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignDraft campaign_draft = 2; +} + +// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v7.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.v7.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/v7/services/campaign_experiment_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_experiment_service.proto new file mode 100644 index 000000000..556376d12 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_experiment_service.proto @@ -0,0 +1,382 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExperimentServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign experiment in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignExperiment(GetCampaignExperimentRequest) returns (google.ads.googleads.v7.resources.CampaignExperiment) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignExperiments/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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.v7.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: "/v7/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: "/v7/{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: "/v7/{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: "/v7/{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: "/v7/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v7.services.CampaignExperimentService.GetCampaignExperiment]. +message GetCampaignExperimentRequest { + // Required. The resource name of the campaign experiment to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignExperiment" + } + ]; +} + +// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignExperiment campaign_experiment = 2; +} + +// Request message for [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v7.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.v7.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.v7.services.CampaignExperimentService.GraduateCampaignExperiment]. +message GraduateCampaignExperimentRequest { + // Required. The resource name of the campaign experiment to graduate. + string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED]; + + // 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.v7.services.CampaignExperimentService.PromoteCampaignExperiment]. +message PromoteCampaignExperimentRequest { + // Required. The resource name of the campaign experiment to promote. + string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED]; + + // 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.v7.services.CampaignExperimentService.EndCampaignExperiment]. +message EndCampaignExperimentRequest { + // Required. The resource name of the campaign experiment to end. + string campaign_experiment = 1 [(google.api.field_behavior) = REQUIRED]; + + // 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.v7.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.v7.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/v7/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_extension_setting_service.proto new file mode 100644 index 000000000..fa666e53f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_extension_setting_service.proto @@ -0,0 +1,182 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignExtensionSettingServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign extension setting in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignExtensionSetting(GetCampaignExtensionSettingRequest) returns (google.ads.googleads.v7.resources.CampaignExtensionSetting) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignExtensionSettings/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignExtensionSettings:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v7.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. +message GetCampaignExtensionSettingRequest { + // Required. The resource name of the campaign extension setting to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignExtensionSetting" + } + ]; +} + +// Request message for +// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v7.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.v7.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.v7.resources.CampaignExtensionSetting create = 1; + + // Update operation: The campaign extension setting is expected to have a + // valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignExtensionSetting campaign_extension_setting = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_feed_service.proto new file mode 100644 index 000000000..9f391169b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_feed_service.proto @@ -0,0 +1,173 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignFeedServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign feed in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignFeed(GetCampaignFeedRequest) returns (google.ads.googleads.v7.resources.CampaignFeed) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignFeeds/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignFeeds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v7.services.CampaignFeedService.GetCampaignFeed]. +message GetCampaignFeedRequest { + // Required. The resource name of the campaign feed to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignFeed" + } + ]; +} + +// Request message for [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v7.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.v7.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.v7.resources.CampaignFeed create = 1; + + // Update operation: The campaign feed is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignFeed campaign_feed = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_label_service.proto new file mode 100644 index 000000000..f44bf010f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_label_service.proto @@ -0,0 +1,144 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignLabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign-label relationship in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignLabel(GetCampaignLabelRequest) returns (google.ads.googleads.v7.resources.CampaignLabel) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignLabels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignLabels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v7.services.CampaignLabelService.GetCampaignLabel]. +message GetCampaignLabelRequest { + // Required. The resource name of the campaign-label relationship to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignLabel" + } + ]; +} + +// Request message for [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v7.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.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_service.proto new file mode 100644 index 000000000..b987e6c5c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_service.proto @@ -0,0 +1,183 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaign(GetCampaignRequest) returns (google.ads.googleads.v7.resources.Campaign) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaigns/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaigns:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignService.GetCampaign][google.ads.googleads.v7.services.CampaignService.GetCampaign]. +message GetCampaignRequest { + // Required. The resource name of the campaign to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Campaign" + } + ]; +} + +// Request message for [CampaignService.MutateCampaigns][google.ads.googleads.v7.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.v7.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.v7.resources.Campaign create = 1; + + // Update operation: The campaign is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.Campaign campaign = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_shared_set_service.proto new file mode 100644 index 000000000..265a5062e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_shared_set_service.proto @@ -0,0 +1,164 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSharedSetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested campaign shared set in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCampaignSharedSet(GetCampaignSharedSetRequest) returns (google.ads.googleads.v7.resources.CampaignSharedSet) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignSharedSets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/campaignSharedSets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v7.services.CampaignSharedSetService.GetCampaignSharedSet]. +message GetCampaignSharedSetRequest { + // Required. The resource name of the campaign shared set to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignSharedSet" + } + ]; +} + +// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CampaignSharedSet campaign_shared_set = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/campaign_simulation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/campaign_simulation_service.proto new file mode 100644 index 000000000..4107fa74b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/campaign_simulation_service.proto @@ -0,0 +1,60 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/campaign_simulation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CampaignSimulationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the CampaignSimulation service. + +// Service to fetch campaign simulations. +service CampaignSimulationService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested campaign simulation in full detail. + rpc GetCampaignSimulation(GetCampaignSimulationRequest) returns (google.ads.googleads.v7.resources.CampaignSimulation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/campaignSimulations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [CampaignSimulationService.GetCampaignSimulation][google.ads.googleads.v7.services.CampaignSimulationService.GetCampaignSimulation]. +message GetCampaignSimulationRequest { + // Required. The resource name of the campaign simulation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CampaignSimulation" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/carrier_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/carrier_constant_service.proto new file mode 100644 index 000000000..84f1bc4c2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/carrier_constant_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/carrier_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CarrierConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the carrier constant service. + +// Service to fetch carrier constants. +service CarrierConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested carrier constant in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCarrierConstant(GetCarrierConstantRequest) returns (google.ads.googleads.v7.resources.CarrierConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=carrierConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v7.services.CarrierConstantService.GetCarrierConstant]. +message GetCarrierConstantRequest { + // Required. Resource name of the carrier constant to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CarrierConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/change_status_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/change_status_service.proto new file mode 100644 index 000000000..52b03619b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/change_status_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/change_status.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ChangeStatusServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Change Status service. + +// Service to fetch change statuses. +service ChangeStatusService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested change status in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetChangeStatus(GetChangeStatusRequest) returns (google.ads.googleads.v7.resources.ChangeStatus) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/changeStatus/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v7.services.ChangeStatusService.GetChangeStatus]'. +message GetChangeStatusRequest { + // Required. The resource name of the change status to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ChangeStatus" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/click_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/click_view_service.proto new file mode 100644 index 000000000..016fbca34 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/click_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/click_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ClickViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the ClickView service. + +// Service to fetch click views. +service ClickViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested click view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetClickView(GetClickViewRequest) returns (google.ads.googleads.v7.resources.ClickView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/clickViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [ClickViewService.GetClickView][google.ads.googleads.v7.services.ClickViewService.GetClickView]. +message GetClickViewRequest { + // Required. The resource name of the click view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ClickView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/combined_audience_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/combined_audience_service.proto new file mode 100644 index 000000000..d1a2cdfa8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/combined_audience_service.proto @@ -0,0 +1,69 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/combined_audience.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CombinedAudienceServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Combined Audience service. + +// Service to manage combined audiences. This service can be used to list all +// your combined audiences with metadata, but won't show the structure and +// components of the combined audience. +service CombinedAudienceService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested combined audience in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCombinedAudience(GetCombinedAudienceRequest) returns (google.ads.googleads.v7.resources.CombinedAudience) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/combinedAudiences/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CombinedAudienceService.GetCombinedAudience][google.ads.googleads.v7.services.CombinedAudienceService.GetCombinedAudience]. +message GetCombinedAudienceRequest { + // Required. The resource name of the combined audience to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CombinedAudience" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/conversion_action_service.proto new file mode 100644 index 000000000..bd04457b3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/conversion_action_service.proto @@ -0,0 +1,167 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ConversionActionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested conversion action. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetConversionAction(GetConversionActionRequest) returns (google.ads.googleads.v7.resources.ConversionAction) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/conversionActions/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/conversionActions:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [ConversionActionService.GetConversionAction][google.ads.googleads.v7.services.ConversionActionService.GetConversionAction]. +message GetConversionActionRequest { + // Required. The resource name of the conversion action to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ConversionAction" + } + ]; +} + +// Request message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v7.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.v7.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.v7.resources.ConversionAction create = 1; + + // Update operation: The conversion action is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v7.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 (e.g. 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; + + // 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.v7.resources.ConversionAction conversion_action = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/conversion_adjustment_upload_service.proto new file mode 100644 index 000000000..6d3edaf0f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/conversion_adjustment_upload_service.proto @@ -0,0 +1,190 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/customers/{customer_id=*}:uploadConversionAdjustments" + body: "*" + }; + option (google.api.method_signature) = "customer_id,conversion_adjustments,partial_failure"; + } +} + +// Request message for +// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v7.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.v7.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 (e.g. 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 { + // 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", e.g. "2019-01-01 12:32:45-08:00". + optional string adjustment_date_time = 9; + + // The adjustment type. + google.ads.googleads.v7.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; + + // Identifies the conversion to be adjusted. + oneof conversion_identifier { + // Uniquely identifies a conversion that was reported without an order ID + // specified. + GclidDateTimePair gclid_date_time_pair = 1; + + // 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. + string order_id = 7; + } +} + +// 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 e.g. 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", e.g. "2019-01-01 12:32:45-08:00". + optional string conversion_date_time = 4; +} + +// Information identifying a successfully processed ConversionAdjustment. +message ConversionAdjustmentResult { + // 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", e.g. "2019-01-01 12:32:45-08:00". + optional string adjustment_date_time = 8; + + // The adjustment type. + google.ads.googleads.v7.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; + + // Identifies the conversion that was adjusted. + oneof conversion_identifier { + // Uniquely identifies a conversion that was reported without an order ID + // specified. + GclidDateTimePair gclid_date_time_pair = 1; + + // The order ID of the conversion that was adjusted. + string order_id = 6; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/conversion_custom_variable_service.proto new file mode 100644 index 000000000..f1faccef6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/conversion_custom_variable_service.proto @@ -0,0 +1,158 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ConversionCustomVariableServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested conversion custom variable. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetConversionCustomVariable(GetConversionCustomVariableRequest) returns (google.ads.googleads.v7.resources.ConversionCustomVariable) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/conversionCustomVariables/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/conversionCustomVariables:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [ConversionCustomVariableService.GetConversionCustomVariable][google.ads.googleads.v7.services.ConversionCustomVariableService.GetConversionCustomVariable]. +message GetConversionCustomVariableRequest { + // Required. The resource name of the conversion custom variable to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ConversionCustomVariable" + } + ]; +} + +// Request message for +// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v7.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.v7.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.v7.resources.ConversionCustomVariable create = 1; + + // Update operation: The conversion custom variable is expected to have a + // valid resource name. + google.ads.googleads.v7.resources.ConversionCustomVariable update = 2; + } +} + +// Response message for +// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v7.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 (e.g. 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; + + // 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.v7.resources.ConversionCustomVariable conversion_custom_variable = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/conversion_upload_service.proto new file mode 100644 index 000000000..dae08e257 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/conversion_upload_service.proto @@ -0,0 +1,278 @@ +// 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.ads.googleads.v7.services; + +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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ConversionUploadServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/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: "/v7/customers/{customer_id=*}:uploadCallConversions" + body: "*" + }; + option (google.api.method_signature) = "customer_id,conversions,partial_failure"; + } +} + +// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v7.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.v7.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 (e.g. 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.v7.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.v7.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 (e.g. 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; + + // 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", e.g. “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; +} + +// 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. e.g. "+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", + // e.g. "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", e.g. "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; + + // 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", e.g. “2019-01-01 12:32:45-08:00”. + optional string conversion_date_time = 6; +} + +// 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", e.g. "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", e.g. "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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/currency_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/currency_constant_service.proto new file mode 100644 index 000000000..d05ad15ac --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/currency_constant_service.proto @@ -0,0 +1,65 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/currency_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CurrencyConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Service to fetch currency constants. +service CurrencyConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested currency constant. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCurrencyConstant(GetCurrencyConstantRequest) returns (google.ads.googleads.v7.resources.CurrencyConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=currencyConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CurrencyConstantService.GetCurrencyConstant][google.ads.googleads.v7.services.CurrencyConstantService.GetCurrencyConstant]. +message GetCurrencyConstantRequest { + // Required. Resource name of the currency constant to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CurrencyConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/custom_audience_service.proto new file mode 100644 index 000000000..c09597fee --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/custom_audience_service.proto @@ -0,0 +1,140 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomAudienceServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested custom audience in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomAudience(GetCustomAudienceRequest) returns (google.ads.googleads.v7.resources.CustomAudience) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customAudiences/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customAudiences:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CustomAudienceService.GetCustomAudience][google.ads.googleads.v7.services.CustomAudienceService.GetCustomAudience]. +message GetCustomAudienceRequest { + // Required. The resource name of the custom audience to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomAudience" + } + ]; +} + +// Request message for [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v7.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.v7.resources.CustomAudience create = 1; + + // Update operation: The custom audience is expected to have a valid + // resource name. + google.ads.googleads.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/custom_interest_service.proto new file mode 100644 index 000000000..61c244e8d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/custom_interest_service.proto @@ -0,0 +1,132 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomInterestServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested custom interest in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomInterest(GetCustomInterestRequest) returns (google.ads.googleads.v7.resources.CustomInterest) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customInterests/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customInterests:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CustomInterestService.GetCustomInterest][google.ads.googleads.v7.services.CustomInterestService.GetCustomInterest]. +message GetCustomInterestRequest { + // Required. The resource name of the custom interest to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomInterest" + } + ]; +} + +// Request message for [CustomInterestService.MutateCustomInterests][google.ads.googleads.v7.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.v7.resources.CustomInterest create = 1; + + // Update operation: The custom interest is expected to have a valid + // resource name. + google.ads.googleads.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_asset_service.proto new file mode 100644 index 000000000..f1ba4287d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_asset_service.proto @@ -0,0 +1,150 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerAssetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested customer asset in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerAsset(GetCustomerAssetRequest) returns (google.ads.googleads.v7.resources.CustomerAsset) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerAssets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerAssets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CustomerAssetService.GetCustomerAsset][google.ads.googleads.v7.services.CustomerAssetService.GetCustomerAsset]. +message GetCustomerAssetRequest { + // Required. The resource name of the customer asset to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerAsset" + } + ]; +} + +// Request message for [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v7.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; +} + +// 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.v7.resources.CustomerAsset create = 1; + + // Update operation: The customer asset is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_client_link_service.proto new file mode 100644 index 000000000..e512a2b7e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_client_link_service.proto @@ -0,0 +1,129 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerClientLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested CustomerClientLink in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerClientLink(GetCustomerClientLinkRequest) returns (google.ads.googleads.v7.resources.CustomerClientLink) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerClientLinks/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerClientLinks:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v7.services.CustomerClientLinkService.GetCustomerClientLink]. +message GetCustomerClientLinkRequest { + // Required. The resource name of the customer client link to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerClientLink" + } + ]; +} + +// Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v7.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.v7.resources.CustomerClientLink create = 1; + + // Update operation: The link is expected to have a valid resource name. + google.ads.googleads.v7.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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_client_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_client_service.proto new file mode 100644 index 000000000..4db4772a3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_client_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/customer_client.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerClientServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Customer Client service. + +// Service to get clients in a customer's hierarchy. +service CustomerClientService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested client in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerClient(GetCustomerClientRequest) returns (google.ads.googleads.v7.resources.CustomerClient) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerClients/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [CustomerClientService.GetCustomerClient][google.ads.googleads.v7.services.CustomerClientService.GetCustomerClient]. +message GetCustomerClientRequest { + // Required. The resource name of the client to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerClient" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_extension_setting_service.proto new file mode 100644 index 000000000..abd75ac2a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_extension_setting_service.proto @@ -0,0 +1,180 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerExtensionSettingServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested customer extension setting in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerExtensionSetting(GetCustomerExtensionSettingRequest) returns (google.ads.googleads.v7.resources.CustomerExtensionSetting) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerExtensionSettings/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerExtensionSettings:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v7.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. +message GetCustomerExtensionSettingRequest { + // Required. The resource name of the customer extension setting to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerExtensionSetting" + } + ]; +} + +// Request message for +// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v7.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.v7.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.v7.resources.CustomerExtensionSetting create = 1; + + // Update operation: The customer extension setting is expected to have a + // valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CustomerExtensionSetting customer_extension_setting = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_feed_service.proto new file mode 100644 index 000000000..3d55e9ec1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_feed_service.proto @@ -0,0 +1,172 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerFeedServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested customer feed in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerFeed(GetCustomerFeedRequest) returns (google.ads.googleads.v7.resources.CustomerFeed) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerFeeds/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerFeeds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v7.services.CustomerFeedService.GetCustomerFeed]. +message GetCustomerFeedRequest { + // Required. The resource name of the customer feed to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerFeed" + } + ]; +} + +// Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v7.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.v7.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.v7.resources.CustomerFeed create = 1; + + // Update operation: The customer feed is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CustomerFeed customer_feed = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_label_service.proto new file mode 100644 index 000000000..f67c637dc --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_label_service.proto @@ -0,0 +1,142 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerLabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested customer-label relationship in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerLabel(GetCustomerLabelRequest) returns (google.ads.googleads.v7.resources.CustomerLabel) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerLabels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerLabels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v7.services.CustomerLabelService.GetCustomerLabel]. +message GetCustomerLabelRequest { + // Required. The resource name of the customer-label relationship to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerLabel" + } + ]; +} + +// Request message for [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v7.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.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_manager_link_service.proto new file mode 100644 index 000000000..f29f4da78 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_manager_link_service.proto @@ -0,0 +1,180 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerManagerLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested CustomerManagerLink in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerManagerLink(GetCustomerManagerLinkRequest) returns (google.ads.googleads.v7.resources.CustomerManagerLink) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerManagerLinks/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // Creates or 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: "/v7/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. i.e: + // 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: "/v7/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + body: "*" + }; + option (google.api.method_signature) = "customer_id,previous_customer_manager_link,new_manager"; + } +} + +// Request message for [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v7.services.CustomerManagerLinkService.GetCustomerManagerLink]. +message GetCustomerManagerLinkRequest { + // Required. The resource name of the CustomerManagerLink to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerManagerLink" + } + ]; +} + +// Request message for [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v7.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.v7.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.v7.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; +} + +// The result for the customer manager link mutate. +message MutateCustomerManagerLinkResult { + // Returned for successful operations. + string resource_name = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_negative_criterion_service.proto new file mode 100644 index 000000000..179cfd7ab --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_negative_criterion_service.proto @@ -0,0 +1,152 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerNegativeCriterionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested criterion in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerNegativeCriterion(GetCustomerNegativeCriterionRequest) returns (google.ads.googleads.v7.resources.CustomerNegativeCriterion) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerNegativeCriteria/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerNegativeCriteria:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v7.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. +message GetCustomerNegativeCriterionRequest { + // Required. The resource name of the criterion to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerNegativeCriterion" + } + ]; +} + +// Request message for +// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.CustomerNegativeCriterion customer_negative_criterion = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_service.proto new file mode 100644 index 000000000..f00aa1199 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_service.proto @@ -0,0 +1,214 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/access_role.proto"; +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested customer in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomer(GetCustomerRequest) returns (google.ads.googleads.v7.resources.Customer) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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: "/v7/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: "/v7/customers/{customer_id=*}:createCustomerClient" + body: "*" + }; + option (google.api.method_signature) = "customer_id,customer_client"; + } +} + +// Request message for [CustomerService.GetCustomer][google.ads.googleads.v7.services.CustomerService.GetCustomer]. +message GetCustomerRequest { + // Required. The resource name of the customer to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Customer" + } + ]; +} + +// Request message for [CustomerService.MutateCustomer][google.ads.googleads.v7.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.v7.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; +} + +// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v7.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.v7.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.v7.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.v7.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 client. + string resource_name = 2; + + // 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; + + // 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.v7.resources.Customer customer = 2; +} + +// Request message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v7.services.CustomerService.ListAccessibleCustomers]. +message ListAccessibleCustomersRequest { + +} + +// Response message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v7.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/v7/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_user_access_invitation_service.proto new file mode 100644 index 000000000..40819c3bb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_user_access_invitation_service.proto @@ -0,0 +1,125 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested access invitation in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerUserAccessInvitation(GetCustomerUserAccessInvitationRequest) returns (google.ads.googleads.v7.resources.CustomerUserAccessInvitation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerUserAccessInvitations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for +// [CustomerUserAccessInvitation.GetCustomerUserAccessInvitation][] +message GetCustomerUserAccessInvitationRequest { + // Required. Resource name of the access invitation. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerUserAccessInvitation" + } + ]; +} + +// 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.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/customer_user_access_service.proto new file mode 100644 index 000000000..227baf3e6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/customer_user_access_service.proto @@ -0,0 +1,129 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "CustomerUserAccessServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the CustomerUserAccess in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetCustomerUserAccess(GetCustomerUserAccessRequest) returns (google.ads.googleads.v7.resources.CustomerUserAccess) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/customerUserAccesses/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/customerUserAccesses:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for +// [CustomerUserAccessService.GetCustomerUserAccess][google.ads.googleads.v7.services.CustomerUserAccessService.GetCustomerUserAccess]. +message GetCustomerUserAccessRequest { + // Required. Resource name of the customer user access. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/CustomerUserAccess" + } + ]; +} + +// Mutate Request for +// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v7.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.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/detail_placement_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/detail_placement_view_service.proto new file mode 100644 index 000000000..c5472bc2f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/detail_placement_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/detail_placement_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "DetailPlacementViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Detail Placement View service. + +// Service to fetch Detail Placement views. +service DetailPlacementViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Detail Placement view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetDetailPlacementView(GetDetailPlacementViewRequest) returns (google.ads.googleads.v7.resources.DetailPlacementView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/detailPlacementViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v7.services.DetailPlacementViewService.GetDetailPlacementView]. +message GetDetailPlacementViewRequest { + // Required. The resource name of the Detail Placement view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DetailPlacementView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/display_keyword_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/display_keyword_view_service.proto new file mode 100644 index 000000000..181b041b3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/display_keyword_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/display_keyword_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "DisplayKeywordViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Display Keyword View service. + +// Service to manage display keyword views. +service DisplayKeywordViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested display keyword view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetDisplayKeywordView(GetDisplayKeywordViewRequest) returns (google.ads.googleads.v7.resources.DisplayKeywordView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/displayKeywordViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v7.services.DisplayKeywordViewService.GetDisplayKeywordView]. +message GetDisplayKeywordViewRequest { + // Required. The resource name of the display keyword view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DisplayKeywordView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/distance_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/distance_view_service.proto new file mode 100644 index 000000000..97958e72d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/distance_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/distance_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "DistanceViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Distance View service. + +// Service to fetch distance views. +service DistanceViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the attributes of the requested distance view. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetDistanceView(GetDistanceViewRequest) returns (google.ads.googleads.v7.resources.DistanceView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/distanceViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [DistanceViewService.GetDistanceView][google.ads.googleads.v7.services.DistanceViewService.GetDistanceView]. +message GetDistanceViewRequest { + // Required. The resource name of the distance view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DistanceView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/domain_category_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/domain_category_service.proto new file mode 100644 index 000000000..105d3587e --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/domain_category_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/domain_category.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "DomainCategoryServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the DomainCategory Service. + +// Service to fetch domain categories. +service DomainCategoryService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested domain category. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetDomainCategory(GetDomainCategoryRequest) returns (google.ads.googleads.v7.resources.DomainCategory) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/domainCategories/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [DomainCategoryService.GetDomainCategory][google.ads.googleads.v7.services.DomainCategoryService.GetDomainCategory]. +message GetDomainCategoryRequest { + // Required. Resource name of the domain category to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DomainCategory" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/dynamic_search_ads_search_term_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/dynamic_search_ads_search_term_view_service.proto new file mode 100644 index 000000000..a34629024 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/dynamic_search_ads_search_term_view_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/dynamic_search_ads_search_term_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "DynamicSearchAdsSearchTermViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Dynamic Search Ads Search Term View service. + +// Service to fetch dynamic search ads views. +service DynamicSearchAdsSearchTermViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested dynamic search ads search term view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetDynamicSearchAdsSearchTermView(GetDynamicSearchAdsSearchTermViewRequest) returns (google.ads.googleads.v7.resources.DynamicSearchAdsSearchTermView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v7.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView]. +message GetDynamicSearchAdsSearchTermViewRequest { + // Required. The resource name of the dynamic search ads search term view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/expanded_landing_page_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/expanded_landing_page_view_service.proto new file mode 100644 index 000000000..0b3b00e2f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/expanded_landing_page_view_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/expanded_landing_page_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ExpandedLandingPageViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the expanded landing page view service. + +// Service to fetch expanded landing page views. +service ExpandedLandingPageViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested expanded landing page view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetExpandedLandingPageView(GetExpandedLandingPageViewRequest) returns (google.ads.googleads.v7.resources.ExpandedLandingPageView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/expandedLandingPageViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v7.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. +message GetExpandedLandingPageViewRequest { + // Required. The resource name of the expanded landing page view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ExpandedLandingPageView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/extension_feed_item_service.proto new file mode 100644 index 000000000..101f06179 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/extension_feed_item_service.proto @@ -0,0 +1,175 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ExtensionFeedItemServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested extension feed item in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetExtensionFeedItem(GetExtensionFeedItemRequest) returns (google.ads.googleads.v7.resources.ExtensionFeedItem) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/extensionFeedItems/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/extensionFeedItems:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v7.services.ExtensionFeedItemService.GetExtensionFeedItem]. +message GetExtensionFeedItemRequest { + // Required. The resource name of the extension feed item to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ExtensionFeedItem" + } + ]; +} + +// Request message for [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v7.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.v7.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.v7.resources.ExtensionFeedItem create = 1; + + // Update operation: The extension feed item is expected to have a + // valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.ExtensionFeedItem extension_feed_item = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_service.proto new file mode 100644 index 000000000..b81938a14 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_service.proto @@ -0,0 +1,174 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed item in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedItem(GetFeedItemRequest) returns (google.ads.googleads.v7.resources.FeedItem) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedItems/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feedItems:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedItemService.GetFeedItem][google.ads.googleads.v7.services.FeedItemService.GetFeedItem]. +message GetFeedItemRequest { + // Required. The resource name of the feed item to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedItem" + } + ]; +} + +// Request message for [FeedItemService.MutateFeedItems][google.ads.googleads.v7.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.v7.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.v7.resources.FeedItem create = 1; + + // Update operation: The feed item is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.FeedItem feed_item = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_link_service.proto new file mode 100644 index 000000000..93bef2a8f --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_link_service.proto @@ -0,0 +1,131 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed item set link in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedItemSetLink(GetFeedItemSetLinkRequest) returns (google.ads.googleads.v7.resources.FeedItemSetLink) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedItemSetLinks/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feedItemSetLinks:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedItemSetLinkService.GetFeedItemSetLinks][]. +message GetFeedItemSetLinkRequest { + // Required. The resource name of the feed item set link to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedItemSetLink" + } + ]; +} + +// Request message for [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v7.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.v7.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; + } +} + +// Response message for a feed item set link mutate. +message MutateFeedItemSetLinksResponse { + // All results for the mutate. + repeated MutateFeedItemSetLinkResult results = 1; +} + +// The result for the feed item set link mutate. +message MutateFeedItemSetLinkResult { + // Returned for successful operations. + string resource_name = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_service.proto new file mode 100644 index 000000000..67632a2a7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_set_service.proto @@ -0,0 +1,139 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemSetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed item set in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedItemSet(GetFeedItemSetRequest) returns (google.ads.googleads.v7.resources.FeedItemSet) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedItemSets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feedItemSets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedItemSetService.GetFeedItemSet][google.ads.googleads.v7.services.FeedItemSetService.GetFeedItemSet]. +message GetFeedItemSetRequest { + // Required. The resource name of the feed item set to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedItemSet" + } + ]; +} + +// Request message for [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v7.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.v7.resources.FeedItemSet create = 1; + + // Update operation: The feed item set is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// Response message for an feed item set mutate. +message MutateFeedItemSetsResponse { + // All results for the mutate. + repeated MutateFeedItemSetResult results = 1; +} + +// The result for the feed item set mutate. +message MutateFeedItemSetResult { + // Returned for successful operations. + string resource_name = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_target_service.proto new file mode 100644 index 000000000..ef94fef33 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_item_target_service.proto @@ -0,0 +1,161 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedItemTargetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed item targets in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedItemTarget(GetFeedItemTargetRequest) returns (google.ads.googleads.v7.resources.FeedItemTarget) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedItemTargets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feedItemTargets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v7.services.FeedItemTargetService.GetFeedItemTarget]. +message GetFeedItemTargetRequest { + // Required. The resource name of the feed item targets to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedItemTarget" + } + ]; +} + +// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.FeedItemTarget feed_item_target = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_mapping_service.proto new file mode 100644 index 000000000..97c43e088 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_mapping_service.proto @@ -0,0 +1,161 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedMappingServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed mapping in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedMapping(GetFeedMappingRequest) returns (google.ads.googleads.v7.resources.FeedMapping) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedMappings/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feedMappings:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedMappingService.GetFeedMapping][google.ads.googleads.v7.services.FeedMappingService.GetFeedMapping]. +message GetFeedMappingRequest { + // Required. The resource name of the feed mapping to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedMapping" + } + ]; +} + +// Request message for [FeedMappingService.MutateFeedMappings][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.FeedMapping feed_mapping = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_placeholder_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_placeholder_view_service.proto new file mode 100644 index 000000000..739883411 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_placeholder_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/feed_placeholder_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedPlaceholderViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the FeedPlaceholderView service. + +// Service to fetch feed placeholder views. +service FeedPlaceholderViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested feed placeholder view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeedPlaceholderView(GetFeedPlaceholderViewRequest) returns (google.ads.googleads.v7.resources.FeedPlaceholderView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feedPlaceholderViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v7.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. +message GetFeedPlaceholderViewRequest { + // Required. The resource name of the feed placeholder view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/FeedPlaceholderView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/feed_service.proto new file mode 100644 index 000000000..dec8803f8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/feed_service.proto @@ -0,0 +1,173 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "FeedServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested feed in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetFeed(GetFeedRequest) returns (google.ads.googleads.v7.resources.Feed) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/feeds/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/feeds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [FeedService.GetFeed][google.ads.googleads.v7.services.FeedService.GetFeed]. +message GetFeedRequest { + // Required. The resource name of the feed to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Feed" + } + ]; +} + +// Request message for [FeedService.MutateFeeds][google.ads.googleads.v7.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.v7.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.v7.resources.Feed create = 1; + + // Update operation: The feed is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.Feed feed = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/gender_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/gender_view_service.proto new file mode 100644 index 000000000..933a141db --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/gender_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/gender_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GenderViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Gender View service. + +// Service to manage gender views. +service GenderViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested gender view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetGenderView(GetGenderViewRequest) returns (google.ads.googleads.v7.resources.GenderView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/genderViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [GenderViewService.GetGenderView][google.ads.googleads.v7.services.GenderViewService.GetGenderView]. +message GetGenderViewRequest { + // Required. The resource name of the gender view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/GenderView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/geo_target_constant_service.proto new file mode 100644 index 000000000..4715c44f7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/geo_target_constant_service.proto @@ -0,0 +1,146 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/geo_target_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GeoTargetConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 the requested geo target constant in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetGeoTargetConstant(GetGeoTargetConstantRequest) returns (google.ads.googleads.v7.resources.GeoTargetConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=geoTargetConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/geoTargetConstants:suggest" + body: "*" + }; + } +} + +// Request message for [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v7.services.GeoTargetConstantService.GetGeoTargetConstant]. +message GetGeoTargetConstantRequest { + // Required. The resource name of the geo target constant to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/GeoTargetConstant" + } + ]; +} + +// Request message for +// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v7.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.v7.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.v7.resources.GeoTargetConstant geo_target_constant = 4; + + // The list of parents of the geo target constant. + repeated google.ads.googleads.v7.resources.GeoTargetConstant geo_target_constant_parents = 5; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/geographic_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/geographic_view_service.proto new file mode 100644 index 000000000..db56e01a9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/geographic_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/geographic_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GeographicViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the GeographicViewService. + +// Service to manage geographic views. +service GeographicViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested geographic view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetGeographicView(GetGeographicViewRequest) returns (google.ads.googleads.v7.resources.GeographicView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/geographicViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [GeographicViewService.GetGeographicView][google.ads.googleads.v7.services.GeographicViewService.GetGeographicView]. +message GetGeographicViewRequest { + // Required. The resource name of the geographic view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/GeographicView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/google_ads_field_service.proto new file mode 100644 index 000000000..d056e0aeb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/google_ads_field_service.proto @@ -0,0 +1,115 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GoogleAdsFieldServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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.v7.resources.GoogleAdsField) { + option (google.api.http) = { + get: "/v7/{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: "/v7/googleAdsFields:search" + body: "*" + }; + option (google.api.method_signature) = "query"; + } +} + +// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v7.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.v7.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.v7.services.GoogleAdsFieldService.SearchGoogleAdsFields]. +message SearchGoogleAdsFieldsResponse { + // The list of fields that matched the query. + repeated google.ads.googleads.v7.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/v7/services/google_ads_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/google_ads_service.proto new file mode 100644 index 000000000..644b08d8d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/google_ads_service.proto @@ -0,0 +1,1177 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/metrics.proto"; +import "google/ads/googleads/v7/common/segments.proto"; +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/enums/summary_row_setting.proto"; +import "google/ads/googleads/v7/resources/account_budget.proto"; +import "google/ads/googleads/v7/resources/account_budget_proposal.proto"; +import "google/ads/googleads/v7/resources/account_link.proto"; +import "google/ads/googleads/v7/resources/ad_group.proto"; +import "google/ads/googleads/v7/resources/ad_group_ad.proto"; +import "google/ads/googleads/v7/resources/ad_group_ad_asset_view.proto"; +import "google/ads/googleads/v7/resources/ad_group_ad_label.proto"; +import "google/ads/googleads/v7/resources/ad_group_asset.proto"; +import "google/ads/googleads/v7/resources/ad_group_audience_view.proto"; +import "google/ads/googleads/v7/resources/ad_group_bid_modifier.proto"; +import "google/ads/googleads/v7/resources/ad_group_criterion.proto"; +import "google/ads/googleads/v7/resources/ad_group_criterion_label.proto"; +import "google/ads/googleads/v7/resources/ad_group_criterion_simulation.proto"; +import "google/ads/googleads/v7/resources/ad_group_extension_setting.proto"; +import "google/ads/googleads/v7/resources/ad_group_feed.proto"; +import "google/ads/googleads/v7/resources/ad_group_label.proto"; +import "google/ads/googleads/v7/resources/ad_group_simulation.proto"; +import "google/ads/googleads/v7/resources/ad_parameter.proto"; +import "google/ads/googleads/v7/resources/ad_schedule_view.proto"; +import "google/ads/googleads/v7/resources/age_range_view.proto"; +import "google/ads/googleads/v7/resources/asset.proto"; +import "google/ads/googleads/v7/resources/batch_job.proto"; +import "google/ads/googleads/v7/resources/bidding_strategy.proto"; +import "google/ads/googleads/v7/resources/bidding_strategy_simulation.proto"; +import "google/ads/googleads/v7/resources/billing_setup.proto"; +import "google/ads/googleads/v7/resources/call_view.proto"; +import "google/ads/googleads/v7/resources/campaign.proto"; +import "google/ads/googleads/v7/resources/campaign_asset.proto"; +import "google/ads/googleads/v7/resources/campaign_audience_view.proto"; +import "google/ads/googleads/v7/resources/campaign_bid_modifier.proto"; +import "google/ads/googleads/v7/resources/campaign_budget.proto"; +import "google/ads/googleads/v7/resources/campaign_criterion.proto"; +import "google/ads/googleads/v7/resources/campaign_criterion_simulation.proto"; +import "google/ads/googleads/v7/resources/campaign_draft.proto"; +import "google/ads/googleads/v7/resources/campaign_experiment.proto"; +import "google/ads/googleads/v7/resources/campaign_extension_setting.proto"; +import "google/ads/googleads/v7/resources/campaign_feed.proto"; +import "google/ads/googleads/v7/resources/campaign_label.proto"; +import "google/ads/googleads/v7/resources/campaign_shared_set.proto"; +import "google/ads/googleads/v7/resources/campaign_simulation.proto"; +import "google/ads/googleads/v7/resources/carrier_constant.proto"; +import "google/ads/googleads/v7/resources/change_event.proto"; +import "google/ads/googleads/v7/resources/change_status.proto"; +import "google/ads/googleads/v7/resources/click_view.proto"; +import "google/ads/googleads/v7/resources/combined_audience.proto"; +import "google/ads/googleads/v7/resources/conversion_action.proto"; +import "google/ads/googleads/v7/resources/conversion_custom_variable.proto"; +import "google/ads/googleads/v7/resources/currency_constant.proto"; +import "google/ads/googleads/v7/resources/custom_audience.proto"; +import "google/ads/googleads/v7/resources/custom_interest.proto"; +import "google/ads/googleads/v7/resources/customer.proto"; +import "google/ads/googleads/v7/resources/customer_asset.proto"; +import "google/ads/googleads/v7/resources/customer_client.proto"; +import "google/ads/googleads/v7/resources/customer_client_link.proto"; +import "google/ads/googleads/v7/resources/customer_extension_setting.proto"; +import "google/ads/googleads/v7/resources/customer_feed.proto"; +import "google/ads/googleads/v7/resources/customer_label.proto"; +import "google/ads/googleads/v7/resources/customer_manager_link.proto"; +import "google/ads/googleads/v7/resources/customer_negative_criterion.proto"; +import "google/ads/googleads/v7/resources/customer_user_access.proto"; +import "google/ads/googleads/v7/resources/customer_user_access_invitation.proto"; +import "google/ads/googleads/v7/resources/detail_placement_view.proto"; +import "google/ads/googleads/v7/resources/display_keyword_view.proto"; +import "google/ads/googleads/v7/resources/distance_view.proto"; +import "google/ads/googleads/v7/resources/domain_category.proto"; +import "google/ads/googleads/v7/resources/dynamic_search_ads_search_term_view.proto"; +import "google/ads/googleads/v7/resources/expanded_landing_page_view.proto"; +import "google/ads/googleads/v7/resources/extension_feed_item.proto"; +import "google/ads/googleads/v7/resources/feed.proto"; +import "google/ads/googleads/v7/resources/feed_item.proto"; +import "google/ads/googleads/v7/resources/feed_item_set.proto"; +import "google/ads/googleads/v7/resources/feed_item_set_link.proto"; +import "google/ads/googleads/v7/resources/feed_item_target.proto"; +import "google/ads/googleads/v7/resources/feed_mapping.proto"; +import "google/ads/googleads/v7/resources/feed_placeholder_view.proto"; +import "google/ads/googleads/v7/resources/gender_view.proto"; +import "google/ads/googleads/v7/resources/geo_target_constant.proto"; +import "google/ads/googleads/v7/resources/geographic_view.proto"; +import "google/ads/googleads/v7/resources/group_placement_view.proto"; +import "google/ads/googleads/v7/resources/hotel_group_view.proto"; +import "google/ads/googleads/v7/resources/hotel_performance_view.proto"; +import "google/ads/googleads/v7/resources/income_range_view.proto"; +import "google/ads/googleads/v7/resources/keyword_plan.proto"; +import "google/ads/googleads/v7/resources/keyword_plan_ad_group.proto"; +import "google/ads/googleads/v7/resources/keyword_plan_ad_group_keyword.proto"; +import "google/ads/googleads/v7/resources/keyword_plan_campaign.proto"; +import "google/ads/googleads/v7/resources/keyword_plan_campaign_keyword.proto"; +import "google/ads/googleads/v7/resources/keyword_view.proto"; +import "google/ads/googleads/v7/resources/label.proto"; +import "google/ads/googleads/v7/resources/landing_page_view.proto"; +import "google/ads/googleads/v7/resources/language_constant.proto"; +import "google/ads/googleads/v7/resources/life_event.proto"; +import "google/ads/googleads/v7/resources/location_view.proto"; +import "google/ads/googleads/v7/resources/managed_placement_view.proto"; +import "google/ads/googleads/v7/resources/media_file.proto"; +import "google/ads/googleads/v7/resources/mobile_app_category_constant.proto"; +import "google/ads/googleads/v7/resources/mobile_device_constant.proto"; +import "google/ads/googleads/v7/resources/offline_user_data_job.proto"; +import "google/ads/googleads/v7/resources/operating_system_version_constant.proto"; +import "google/ads/googleads/v7/resources/paid_organic_search_term_view.proto"; +import "google/ads/googleads/v7/resources/parental_status_view.proto"; +import "google/ads/googleads/v7/resources/product_bidding_category_constant.proto"; +import "google/ads/googleads/v7/resources/product_group_view.proto"; +import "google/ads/googleads/v7/resources/recommendation.proto"; +import "google/ads/googleads/v7/resources/remarketing_action.proto"; +import "google/ads/googleads/v7/resources/search_term_view.proto"; +import "google/ads/googleads/v7/resources/shared_criterion.proto"; +import "google/ads/googleads/v7/resources/shared_set.proto"; +import "google/ads/googleads/v7/resources/shopping_performance_view.proto"; +import "google/ads/googleads/v7/resources/third_party_app_analytics_link.proto"; +import "google/ads/googleads/v7/resources/topic_constant.proto"; +import "google/ads/googleads/v7/resources/topic_view.proto"; +import "google/ads/googleads/v7/resources/user_interest.proto"; +import "google/ads/googleads/v7/resources/user_list.proto"; +import "google/ads/googleads/v7/resources/user_location_view.proto"; +import "google/ads/googleads/v7/resources/video.proto"; +import "google/ads/googleads/v7/resources/webpage_view.proto"; +import "google/ads/googleads/v7/services/ad_group_ad_label_service.proto"; +import "google/ads/googleads/v7/services/ad_group_ad_service.proto"; +import "google/ads/googleads/v7/services/ad_group_asset_service.proto"; +import "google/ads/googleads/v7/services/ad_group_bid_modifier_service.proto"; +import "google/ads/googleads/v7/services/ad_group_criterion_label_service.proto"; +import "google/ads/googleads/v7/services/ad_group_criterion_service.proto"; +import "google/ads/googleads/v7/services/ad_group_extension_setting_service.proto"; +import "google/ads/googleads/v7/services/ad_group_feed_service.proto"; +import "google/ads/googleads/v7/services/ad_group_label_service.proto"; +import "google/ads/googleads/v7/services/ad_group_service.proto"; +import "google/ads/googleads/v7/services/ad_parameter_service.proto"; +import "google/ads/googleads/v7/services/ad_service.proto"; +import "google/ads/googleads/v7/services/asset_service.proto"; +import "google/ads/googleads/v7/services/bidding_strategy_service.proto"; +import "google/ads/googleads/v7/services/campaign_asset_service.proto"; +import "google/ads/googleads/v7/services/campaign_bid_modifier_service.proto"; +import "google/ads/googleads/v7/services/campaign_budget_service.proto"; +import "google/ads/googleads/v7/services/campaign_criterion_service.proto"; +import "google/ads/googleads/v7/services/campaign_draft_service.proto"; +import "google/ads/googleads/v7/services/campaign_experiment_service.proto"; +import "google/ads/googleads/v7/services/campaign_extension_setting_service.proto"; +import "google/ads/googleads/v7/services/campaign_feed_service.proto"; +import "google/ads/googleads/v7/services/campaign_label_service.proto"; +import "google/ads/googleads/v7/services/campaign_service.proto"; +import "google/ads/googleads/v7/services/campaign_shared_set_service.proto"; +import "google/ads/googleads/v7/services/conversion_action_service.proto"; +import "google/ads/googleads/v7/services/conversion_custom_variable_service.proto"; +import "google/ads/googleads/v7/services/customer_asset_service.proto"; +import "google/ads/googleads/v7/services/customer_extension_setting_service.proto"; +import "google/ads/googleads/v7/services/customer_feed_service.proto"; +import "google/ads/googleads/v7/services/customer_label_service.proto"; +import "google/ads/googleads/v7/services/customer_negative_criterion_service.proto"; +import "google/ads/googleads/v7/services/customer_service.proto"; +import "google/ads/googleads/v7/services/extension_feed_item_service.proto"; +import "google/ads/googleads/v7/services/feed_item_service.proto"; +import "google/ads/googleads/v7/services/feed_item_set_link_service.proto"; +import "google/ads/googleads/v7/services/feed_item_set_service.proto"; +import "google/ads/googleads/v7/services/feed_item_target_service.proto"; +import "google/ads/googleads/v7/services/feed_mapping_service.proto"; +import "google/ads/googleads/v7/services/feed_service.proto"; +import "google/ads/googleads/v7/services/keyword_plan_ad_group_keyword_service.proto"; +import "google/ads/googleads/v7/services/keyword_plan_ad_group_service.proto"; +import "google/ads/googleads/v7/services/keyword_plan_campaign_keyword_service.proto"; +import "google/ads/googleads/v7/services/keyword_plan_campaign_service.proto"; +import "google/ads/googleads/v7/services/keyword_plan_service.proto"; +import "google/ads/googleads/v7/services/label_service.proto"; +import "google/ads/googleads/v7/services/media_file_service.proto"; +import "google/ads/googleads/v7/services/remarketing_action_service.proto"; +import "google/ads/googleads/v7/services/shared_criterion_service.proto"; +import "google/ads/googleads/v7/services/shared_set_service.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GoogleAdsServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/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: "/v7/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 desired 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: "/v7/customers/{customer_id=*}/googleAds:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,mutate_operations"; + } +} + +// Request message for [GoogleAdsService.Search][google.ads.googleads.v7.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.v7.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; +} + +// Response message for [GoogleAdsService.Search][google.ads.googleads.v7.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.v7.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.v7.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; +} + +// Response message for [GoogleAdsService.SearchStream][google.ads.googleads.v7.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.v7.resources.AccountBudget account_budget = 42; + + // The account budget proposal referenced in the query. + google.ads.googleads.v7.resources.AccountBudgetProposal account_budget_proposal = 43; + + // The AccountLink referenced in the query. + google.ads.googleads.v7.resources.AccountLink account_link = 143; + + // The ad group referenced in the query. + google.ads.googleads.v7.resources.AdGroup ad_group = 3; + + // The ad referenced in the query. + google.ads.googleads.v7.resources.AdGroupAd ad_group_ad = 16; + + // The ad group ad asset view in the query. + google.ads.googleads.v7.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; + + // The ad group ad label referenced in the query. + google.ads.googleads.v7.resources.AdGroupAdLabel ad_group_ad_label = 120; + + // The ad group asset referenced in the query. + google.ads.googleads.v7.resources.AdGroupAsset ad_group_asset = 154; + + // The ad group audience view referenced in the query. + google.ads.googleads.v7.resources.AdGroupAudienceView ad_group_audience_view = 57; + + // The bid modifier referenced in the query. + google.ads.googleads.v7.resources.AdGroupBidModifier ad_group_bid_modifier = 24; + + // The criterion referenced in the query. + google.ads.googleads.v7.resources.AdGroupCriterion ad_group_criterion = 17; + + // The ad group criterion label referenced in the query. + google.ads.googleads.v7.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; + + // The ad group criterion simulation referenced in the query. + google.ads.googleads.v7.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; + + // The ad group extension setting referenced in the query. + google.ads.googleads.v7.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; + + // The ad group feed referenced in the query. + google.ads.googleads.v7.resources.AdGroupFeed ad_group_feed = 67; + + // The ad group label referenced in the query. + google.ads.googleads.v7.resources.AdGroupLabel ad_group_label = 115; + + // The ad group simulation referenced in the query. + google.ads.googleads.v7.resources.AdGroupSimulation ad_group_simulation = 107; + + // The ad parameter referenced in the query. + google.ads.googleads.v7.resources.AdParameter ad_parameter = 130; + + // The age range view referenced in the query. + google.ads.googleads.v7.resources.AgeRangeView age_range_view = 48; + + // The ad schedule view referenced in the query. + google.ads.googleads.v7.resources.AdScheduleView ad_schedule_view = 89; + + // The domain category referenced in the query. + google.ads.googleads.v7.resources.DomainCategory domain_category = 91; + + // The asset referenced in the query. + google.ads.googleads.v7.resources.Asset asset = 105; + + // The batch job referenced in the query. + google.ads.googleads.v7.resources.BatchJob batch_job = 139; + + // The bidding strategy referenced in the query. + google.ads.googleads.v7.resources.BiddingStrategy bidding_strategy = 18; + + // The bidding strategy simulation referenced in the query. + google.ads.googleads.v7.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; + + // The billing setup referenced in the query. + google.ads.googleads.v7.resources.BillingSetup billing_setup = 41; + + // The call view referenced in the query. + google.ads.googleads.v7.resources.CallView call_view = 152; + + // The campaign budget referenced in the query. + google.ads.googleads.v7.resources.CampaignBudget campaign_budget = 19; + + // The campaign referenced in the query. + google.ads.googleads.v7.resources.Campaign campaign = 2; + + // The campaign asset referenced in the query. + google.ads.googleads.v7.resources.CampaignAsset campaign_asset = 142; + + // The campaign audience view referenced in the query. + google.ads.googleads.v7.resources.CampaignAudienceView campaign_audience_view = 69; + + // The campaign bid modifier referenced in the query. + google.ads.googleads.v7.resources.CampaignBidModifier campaign_bid_modifier = 26; + + // The campaign criterion referenced in the query. + google.ads.googleads.v7.resources.CampaignCriterion campaign_criterion = 20; + + // The campaign criterion simulation referenced in the query. + google.ads.googleads.v7.resources.CampaignCriterionSimulation campaign_criterion_simulation = 111; + + // The campaign draft referenced in the query. + google.ads.googleads.v7.resources.CampaignDraft campaign_draft = 49; + + // The campaign experiment referenced in the query. + google.ads.googleads.v7.resources.CampaignExperiment campaign_experiment = 84; + + // The campaign extension setting referenced in the query. + google.ads.googleads.v7.resources.CampaignExtensionSetting campaign_extension_setting = 113; + + // The campaign feed referenced in the query. + google.ads.googleads.v7.resources.CampaignFeed campaign_feed = 63; + + // The campaign label referenced in the query. + google.ads.googleads.v7.resources.CampaignLabel campaign_label = 108; + + // Campaign Shared Set referenced in AWQL query. + google.ads.googleads.v7.resources.CampaignSharedSet campaign_shared_set = 30; + + // The campaign simulation referenced in the query. + google.ads.googleads.v7.resources.CampaignSimulation campaign_simulation = 157; + + // The carrier constant referenced in the query. + google.ads.googleads.v7.resources.CarrierConstant carrier_constant = 66; + + // The ChangeEvent referenced in the query. + google.ads.googleads.v7.resources.ChangeEvent change_event = 145; + + // The ChangeStatus referenced in the query. + google.ads.googleads.v7.resources.ChangeStatus change_status = 37; + + // The CombinedAudience referenced in the query. + google.ads.googleads.v7.resources.CombinedAudience combined_audience = 148; + + // The conversion action referenced in the query. + google.ads.googleads.v7.resources.ConversionAction conversion_action = 103; + + // The conversion custom variable referenced in the query. + google.ads.googleads.v7.resources.ConversionCustomVariable conversion_custom_variable = 153; + + // The ClickView referenced in the query. + google.ads.googleads.v7.resources.ClickView click_view = 122; + + // The currency constant referenced in the query. + google.ads.googleads.v7.resources.CurrencyConstant currency_constant = 134; + + // The CustomAudience referenced in the query. + google.ads.googleads.v7.resources.CustomAudience custom_audience = 147; + + // The CustomInterest referenced in the query. + google.ads.googleads.v7.resources.CustomInterest custom_interest = 104; + + // The customer referenced in the query. + google.ads.googleads.v7.resources.Customer customer = 1; + + // The customer asset referenced in the query. + google.ads.googleads.v7.resources.CustomerAsset customer_asset = 155; + + // The CustomerManagerLink referenced in the query. + google.ads.googleads.v7.resources.CustomerManagerLink customer_manager_link = 61; + + // The CustomerClientLink referenced in the query. + google.ads.googleads.v7.resources.CustomerClientLink customer_client_link = 62; + + // The CustomerClient referenced in the query. + google.ads.googleads.v7.resources.CustomerClient customer_client = 70; + + // The customer extension setting referenced in the query. + google.ads.googleads.v7.resources.CustomerExtensionSetting customer_extension_setting = 114; + + // The customer feed referenced in the query. + google.ads.googleads.v7.resources.CustomerFeed customer_feed = 64; + + // The customer label referenced in the query. + google.ads.googleads.v7.resources.CustomerLabel customer_label = 124; + + // The customer negative criterion referenced in the query. + google.ads.googleads.v7.resources.CustomerNegativeCriterion customer_negative_criterion = 88; + + // The CustomerUserAccess referenced in the query. + google.ads.googleads.v7.resources.CustomerUserAccess customer_user_access = 146; + + // The CustomerUserAccessInvitation referenced in the query. + google.ads.googleads.v7.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; + + // The detail placement view referenced in the query. + google.ads.googleads.v7.resources.DetailPlacementView detail_placement_view = 118; + + // The display keyword view referenced in the query. + google.ads.googleads.v7.resources.DisplayKeywordView display_keyword_view = 47; + + // The distance view referenced in the query. + google.ads.googleads.v7.resources.DistanceView distance_view = 132; + + // The dynamic search ads search term view referenced in the query. + google.ads.googleads.v7.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; + + // The expanded landing page view referenced in the query. + google.ads.googleads.v7.resources.ExpandedLandingPageView expanded_landing_page_view = 128; + + // The extension feed item referenced in the query. + google.ads.googleads.v7.resources.ExtensionFeedItem extension_feed_item = 85; + + // The feed referenced in the query. + google.ads.googleads.v7.resources.Feed feed = 46; + + // The feed item referenced in the query. + google.ads.googleads.v7.resources.FeedItem feed_item = 50; + + // The feed item set referenced in the query. + google.ads.googleads.v7.resources.FeedItemSet feed_item_set = 149; + + // The feed item set link referenced in the query. + google.ads.googleads.v7.resources.FeedItemSetLink feed_item_set_link = 151; + + // The feed item target referenced in the query. + google.ads.googleads.v7.resources.FeedItemTarget feed_item_target = 116; + + // The feed mapping referenced in the query. + google.ads.googleads.v7.resources.FeedMapping feed_mapping = 58; + + // The feed placeholder view referenced in the query. + google.ads.googleads.v7.resources.FeedPlaceholderView feed_placeholder_view = 97; + + // The gender view referenced in the query. + google.ads.googleads.v7.resources.GenderView gender_view = 40; + + // The geo target constant referenced in the query. + google.ads.googleads.v7.resources.GeoTargetConstant geo_target_constant = 23; + + // The geographic view referenced in the query. + google.ads.googleads.v7.resources.GeographicView geographic_view = 125; + + // The group placement view referenced in the query. + google.ads.googleads.v7.resources.GroupPlacementView group_placement_view = 119; + + // The hotel group view referenced in the query. + google.ads.googleads.v7.resources.HotelGroupView hotel_group_view = 51; + + // The hotel performance view referenced in the query. + google.ads.googleads.v7.resources.HotelPerformanceView hotel_performance_view = 71; + + // The income range view referenced in the query. + google.ads.googleads.v7.resources.IncomeRangeView income_range_view = 138; + + // The keyword view referenced in the query. + google.ads.googleads.v7.resources.KeywordView keyword_view = 21; + + // The keyword plan referenced in the query. + google.ads.googleads.v7.resources.KeywordPlan keyword_plan = 32; + + // The keyword plan campaign referenced in the query. + google.ads.googleads.v7.resources.KeywordPlanCampaign keyword_plan_campaign = 33; + + // The keyword plan campaign keyword referenced in the query. + google.ads.googleads.v7.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; + + // The keyword plan ad group referenced in the query. + google.ads.googleads.v7.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; + + // The keyword plan ad group referenced in the query. + google.ads.googleads.v7.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; + + // The label referenced in the query. + google.ads.googleads.v7.resources.Label label = 52; + + // The landing page view referenced in the query. + google.ads.googleads.v7.resources.LandingPageView landing_page_view = 126; + + // The language constant referenced in the query. + google.ads.googleads.v7.resources.LanguageConstant language_constant = 55; + + // The location view referenced in the query. + google.ads.googleads.v7.resources.LocationView location_view = 123; + + // The managed placement view referenced in the query. + google.ads.googleads.v7.resources.ManagedPlacementView managed_placement_view = 53; + + // The media file referenced in the query. + google.ads.googleads.v7.resources.MediaFile media_file = 90; + + // The mobile app category constant referenced in the query. + google.ads.googleads.v7.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; + + // The mobile device constant referenced in the query. + google.ads.googleads.v7.resources.MobileDeviceConstant mobile_device_constant = 98; + + // The offline user data job referenced in the query. + google.ads.googleads.v7.resources.OfflineUserDataJob offline_user_data_job = 137; + + // The operating system version constant referenced in the query. + google.ads.googleads.v7.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; + + // The paid organic search term view referenced in the query. + google.ads.googleads.v7.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; + + // The parental status view referenced in the query. + google.ads.googleads.v7.resources.ParentalStatusView parental_status_view = 45; + + // The Product Bidding Category referenced in the query. + google.ads.googleads.v7.resources.ProductBiddingCategoryConstant product_bidding_category_constant = 109; + + // The product group view referenced in the query. + google.ads.googleads.v7.resources.ProductGroupView product_group_view = 54; + + // The recommendation referenced in the query. + google.ads.googleads.v7.resources.Recommendation recommendation = 22; + + // The search term view referenced in the query. + google.ads.googleads.v7.resources.SearchTermView search_term_view = 68; + + // The shared set referenced in the query. + google.ads.googleads.v7.resources.SharedCriterion shared_criterion = 29; + + // The shared set referenced in the query. + google.ads.googleads.v7.resources.SharedSet shared_set = 27; + + // The shopping performance view referenced in the query. + google.ads.googleads.v7.resources.ShoppingPerformanceView shopping_performance_view = 117; + + // The AccountLink referenced in the query. + google.ads.googleads.v7.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; + + // The topic view referenced in the query. + google.ads.googleads.v7.resources.TopicView topic_view = 44; + + // The user interest referenced in the query. + google.ads.googleads.v7.resources.UserInterest user_interest = 59; + + // The life event referenced in the query. + google.ads.googleads.v7.resources.LifeEvent life_event = 161; + + // The user list referenced in the query. + google.ads.googleads.v7.resources.UserList user_list = 38; + + // The user location view referenced in the query. + google.ads.googleads.v7.resources.UserLocationView user_location_view = 135; + + // The remarketing action referenced in the query. + google.ads.googleads.v7.resources.RemarketingAction remarketing_action = 60; + + // The topic constant referenced in the query. + google.ads.googleads.v7.resources.TopicConstant topic_constant = 31; + + // The video referenced in the query. + google.ads.googleads.v7.resources.Video video = 39; + + // The webpage view referenced in the query. + google.ads.googleads.v7.resources.WebpageView webpage_view = 162; + + // The metrics. + google.ads.googleads.v7.common.Metrics metrics = 4; + + // The segments. + google.ads.googleads.v7.common.Segments segments = 102; +} + +// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v7.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. E.g. MutateCampaignResult.campaign. + google.ads.googleads.v7.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; +} + +// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v7.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 (e.g., 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 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 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; + + // A bidding strategy mutate operation. + BiddingStrategyOperation bidding_strategy_operation = 6; + + // A campaign asset mutate operation. + CampaignAssetOperation campaign_asset_operation = 52; + + // A campaign bid modifier mutate operation. + CampaignBidModifierOperation campaign_bid_modifier_operation = 7; + + // A campaign budget mutate operation. + CampaignBudgetOperation campaign_budget_operation = 8; + + // A campaign criterion mutate operation. + CampaignCriterionOperation campaign_criterion_operation = 13; + + // 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 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 customer asset mutate operation. + CustomerAssetOperation customer_asset_operation = 57; + + // 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 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 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 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 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 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 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 criterion mutate. + MutateCampaignCriterionResult campaign_criterion_result = 13; + + // 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 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 customer asset mutate. + MutateCustomerAssetResult customer_asset_result = 57; + + // 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 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 user list mutate. + MutateUserListResult user_list_result = 16; + } +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/group_placement_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/group_placement_view_service.proto new file mode 100644 index 000000000..dbe3024ec --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/group_placement_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/group_placement_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "GroupPlacementViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Group Placement View service. + +// Service to fetch Group Placement views. +service GroupPlacementViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Group Placement view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetGroupPlacementView(GetGroupPlacementViewRequest) returns (google.ads.googleads.v7.resources.GroupPlacementView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/groupPlacementViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v7.services.GroupPlacementViewService.GetGroupPlacementView]. +message GetGroupPlacementViewRequest { + // Required. The resource name of the Group Placement view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/GroupPlacementView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/hotel_group_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/hotel_group_view_service.proto new file mode 100644 index 000000000..556aaad59 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/hotel_group_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/hotel_group_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "HotelGroupViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Hotel Group View Service. + +// Service to manage Hotel Group Views. +service HotelGroupViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Hotel Group View in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetHotelGroupView(GetHotelGroupViewRequest) returns (google.ads.googleads.v7.resources.HotelGroupView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/hotelGroupViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v7.services.HotelGroupViewService.GetHotelGroupView]. +message GetHotelGroupViewRequest { + // Required. Resource name of the Hotel Group View to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/HotelGroupView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/hotel_performance_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/hotel_performance_view_service.proto new file mode 100644 index 000000000..19ed2cda7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/hotel_performance_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/hotel_performance_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "HotelPerformanceViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Hotel Performance View Service. + +// Service to manage Hotel Performance Views. +service HotelPerformanceViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Hotel Performance View in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetHotelPerformanceView(GetHotelPerformanceViewRequest) returns (google.ads.googleads.v7.resources.HotelPerformanceView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/hotelPerformanceView}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v7.services.HotelPerformanceViewService.GetHotelPerformanceView]. +message GetHotelPerformanceViewRequest { + // Required. Resource name of the Hotel Performance View to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/HotelPerformanceView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/income_range_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/income_range_view_service.proto new file mode 100644 index 000000000..6fe5316c5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/income_range_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/income_range_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "IncomeRangeViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Income Range View service. + +// Service to manage income range views. +service IncomeRangeViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested income range view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetIncomeRangeView(GetIncomeRangeViewRequest) returns (google.ads.googleads.v7.resources.IncomeRangeView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/incomeRangeViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [IncomeRangeViewService.GetIncomeRangeView][google.ads.googleads.v7.services.IncomeRangeViewService.GetIncomeRangeView]. +message GetIncomeRangeViewRequest { + // Required. The resource name of the income range view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/IncomeRangeView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/invoice_service.proto new file mode 100644 index 000000000..ffd60dc54 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/invoice_service.proto @@ -0,0 +1,83 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/month_of_year.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "InvoiceServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/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.v7.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for [InvoiceService.ListInvoices][google.ads.googleads.v7.services.InvoiceService.ListInvoices]. +message ListInvoicesResponse { + // The list of invoices that match the billing setup and time period. + repeated google.ads.googleads.v7.resources.Invoice invoices = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_keyword_service.proto new file mode 100644 index 000000000..5a20c162a --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_keyword_service.proto @@ -0,0 +1,165 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested Keyword Plan ad group keyword in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordPlanAdGroupKeyword(GetKeywordPlanAdGroupKeywordRequest) returns (google.ads.googleads.v7.resources.KeywordPlanAdGroupKeyword) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordPlanAdGroupKeywords/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword][google.ads.googleads.v7.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword]. +message GetKeywordPlanAdGroupKeywordRequest { + // Required. The resource name of the ad group keyword to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" + } + ]; +} + +// Request message for +// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v7.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.v7.resources.KeywordPlanAdGroupKeyword create = 1; + + // Update operation: The Keyword Plan ad group keyword is expected to have a + // valid resource name. + google.ads.googleads.v7.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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_service.proto new file mode 100644 index 000000000..a27e59bf9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_ad_group_service.proto @@ -0,0 +1,159 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanAdGroupServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested Keyword Plan ad group in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordPlanAdGroup(GetKeywordPlanAdGroupRequest) returns (google.ads.googleads.v7.resources.KeywordPlanAdGroup) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordPlanAdGroups/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v7.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup]. +message GetKeywordPlanAdGroupRequest { + // Required. The resource name of the Keyword Plan ad group to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordPlanAdGroup" + } + ]; +} + +// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v7.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.v7.resources.KeywordPlanAdGroup create = 1; + + // Update operation: The Keyword Plan ad group is expected to have a valid + // resource name. + google.ads.googleads.v7.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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_keyword_service.proto new file mode 100644 index 000000000..b4244ccfc --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_keyword_service.proto @@ -0,0 +1,162 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested plan in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordPlanCampaignKeyword(GetKeywordPlanCampaignKeywordRequest) returns (google.ads.googleads.v7.resources.KeywordPlanCampaignKeyword) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordPlanCampaignKeywords/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for +// [KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword][google.ads.googleads.v7.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword]. +message GetKeywordPlanCampaignKeywordRequest { + // Required. The resource name of the plan to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" + } + ]; +} + +// Request message for +// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v7.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.v7.resources.KeywordPlanCampaignKeyword create = 1; + + // Update operation: The Keyword Plan campaign keyword expected to have a + // valid resource name. + google.ads.googleads.v7.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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_service.proto new file mode 100644 index 000000000..45170ad29 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_campaign_service.proto @@ -0,0 +1,160 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanCampaignServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested Keyword Plan campaign in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordPlanCampaign(GetKeywordPlanCampaignRequest) returns (google.ads.googleads.v7.resources.KeywordPlanCampaign) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordPlanCampaigns/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v7.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. +message GetKeywordPlanCampaignRequest { + // Required. The resource name of the Keyword Plan campaign to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordPlanCampaign" + } + ]; +} + +// Request message for +// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v7.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.v7.resources.KeywordPlanCampaign create = 1; + + // Update operation: The Keyword Plan campaign is expected to have a valid + // resource name. + google.ads.googleads.v7.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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_idea_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_idea_service.proto new file mode 100644 index 000000000..c7e4d42c9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_idea_service.proto @@ -0,0 +1,181 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/keyword_plan_common.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_keyword_annotation.proto"; +import "google/ads/googleads/v7/enums/keyword_plan_network.proto"; +import "google/api/annotations.proto"; +import "google/api/client.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanIdeaServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/customers/{customer_id=*}:generateKeywordIdeas" + body: "*" + }; + } +} + +// Request message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v7.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. + // Required + optional string language = 14; + + // The resource names of the location to target. + // Max 10 + 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. + google.ads.googleads.v7.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; + + // The keyword annotations to include in response. + repeated google.ads.googleads.v7.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; + + // The aggregate fields to include in response. + google.ads.googleads.v7.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; + + // The options for historical metrics data. + google.ads.googleads.v7.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 + // e.g. cars, www.example.com/cars. + KeywordAndUrlSeed keyword_and_url_seed = 2; + + // A Keyword or phrase to generate ideas from, e.g. cars. + KeywordSeed keyword_seed = 3; + + // A specific url to generate ideas from, e.g. www.example.com/cars. + UrlSeed url_seed = 5; + + // The site to generate ideas from, e.g. 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.v7.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. +message GenerateKeywordIdeaResponse { + // Results of generating keyword ideas. + repeated GenerateKeywordIdeaResult results = 1; + + // The aggregate metrics for all keyword ideas. + google.ads.googleads.v7.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.v7.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; + + // The annotations for the keyword. + // The annotation data is only provided if requested. + google.ads.googleads.v7.common.KeywordAnnotations keyword_annotations = 6; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_service.proto new file mode 100644 index 000000000..19cf022c5 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_plan_service.proto @@ -0,0 +1,446 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/keyword_plan_common.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordPlanServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested plan in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordPlan(GetKeywordPlanRequest) returns (google.ads.googleads.v7.resources.KeywordPlan) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordPlans/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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: "/v7/{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: "/v7/{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: "/v7/{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: "/v7/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + body: "*" + }; + option (google.api.method_signature) = "keyword_plan"; + } +} + +// Request message for [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v7.services.KeywordPlanService.GetKeywordPlan]. +message GetKeywordPlanRequest { + // Required. The resource name of the plan to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordPlan" + } + ]; +} + +// Request message for [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v7.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.v7.resources.KeywordPlan create = 1; + + // Update operation: The keyword plan is expected to have a valid resource + // name. + google.ads.googleads.v7.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 (e.g. 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; +} + +// Request message for [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.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.v7.common.KeywordPlanAggregateMetrics aggregate_metrics = 2; + + // The options for historical metrics data. + google.ads.googleads.v7.common.HistoricalMetricsOptions historical_metrics_options = 3; +} + +// Response message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v7.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.v7.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.v7.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/keyword_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/keyword_view_service.proto new file mode 100644 index 000000000..004f6e91c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/keyword_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/keyword_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "KeywordViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Keyword View service. + +// Service to manage keyword views. +service KeywordViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested keyword view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetKeywordView(GetKeywordViewRequest) returns (google.ads.googleads.v7.resources.KeywordView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/keywordViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [KeywordViewService.GetKeywordView][google.ads.googleads.v7.services.KeywordViewService.GetKeywordView]. +message GetKeywordViewRequest { + // Required. The resource name of the keyword view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/KeywordView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/label_service.proto new file mode 100644 index 000000000..25dce47f3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/label_service.proto @@ -0,0 +1,168 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "LabelServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested label in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetLabel(GetLabelRequest) returns (google.ads.googleads.v7.resources.Label) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/labels/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/labels:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [LabelService.GetLabel][google.ads.googleads.v7.services.LabelService.GetLabel]. +message GetLabelRequest { + // Required. The resource name of the label to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Label" + } + ]; +} + +// Request message for [LabelService.MutateLabels][google.ads.googleads.v7.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.v7.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.v7.resources.Label create = 1; + + // Update operation: The label is expected to have a valid resource name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.Label label = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/landing_page_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/landing_page_view_service.proto new file mode 100644 index 000000000..63e89bf3c --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/landing_page_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/landing_page_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "LandingPageViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the landing page view service. + +// Service to fetch landing page views. +service LandingPageViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested landing page view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetLandingPageView(GetLandingPageViewRequest) returns (google.ads.googleads.v7.resources.LandingPageView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/landingPageViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [LandingPageViewService.GetLandingPageView][google.ads.googleads.v7.services.LandingPageViewService.GetLandingPageView]. +message GetLandingPageViewRequest { + // Required. The resource name of the landing page view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/LandingPageView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/language_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/language_constant_service.proto new file mode 100644 index 000000000..5c1631f89 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/language_constant_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/language_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "LanguageConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the language constant service. + +// Service to fetch language constants. +service LanguageConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested language constant. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetLanguageConstant(GetLanguageConstantRequest) returns (google.ads.googleads.v7.resources.LanguageConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=languageConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v7.services.LanguageConstantService.GetLanguageConstant]. +message GetLanguageConstantRequest { + // Required. Resource name of the language constant to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/LanguageConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/life_event_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/life_event_service.proto new file mode 100644 index 000000000..9788d46ce --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/life_event_service.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/life_event.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "LifeEventServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the life event service + +// Service to fetch Google Ads Life Events. +service LifeEventService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested life event in full detail. + rpc GetLifeEvent(GetLifeEventRequest) returns (google.ads.googleads.v7.resources.LifeEvent) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/lifeEvents/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [LifeEventService.GetLifeEvent][google.ads.googleads.v7.services.LifeEventService.GetLifeEvent]. +message GetLifeEventRequest { + // Required. Resource name of the LifeEvent to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/LifeEvent" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/location_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/location_view_service.proto new file mode 100644 index 000000000..6474b591b --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/location_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/location_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "LocationViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Location View service. + +// Service to fetch location views. +service LocationViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested location view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetLocationView(GetLocationViewRequest) returns (google.ads.googleads.v7.resources.LocationView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/locationViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [LocationViewService.GetLocationView][google.ads.googleads.v7.services.LocationViewService.GetLocationView]. +message GetLocationViewRequest { + // Required. The resource name of the location view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/LocationView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/managed_placement_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/managed_placement_view_service.proto new file mode 100644 index 000000000..bc1a83704 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/managed_placement_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/managed_placement_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ManagedPlacementViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Managed Placement View service. + +// Service to manage Managed Placement views. +service ManagedPlacementViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Managed Placement view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetManagedPlacementView(GetManagedPlacementViewRequest) returns (google.ads.googleads.v7.resources.ManagedPlacementView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/managedPlacementViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v7.services.ManagedPlacementViewService.GetManagedPlacementView]. +message GetManagedPlacementViewRequest { + // Required. The resource name of the Managed Placement View to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ManagedPlacementView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/media_file_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/media_file_service.proto new file mode 100644 index 000000000..670fe6bf9 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/media_file_service.proto @@ -0,0 +1,156 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "MediaFileServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested media file in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetMediaFile(GetMediaFileRequest) returns (google.ads.googleads.v7.resources.MediaFile) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/mediaFiles/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/mediaFiles:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [MediaFileService.GetMediaFile][google.ads.googleads.v7.services.MediaFileService.GetMediaFile] +message GetMediaFileRequest { + // Required. The resource name of the media file to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/MediaFile" + } + ]; +} + +// Request message for [MediaFileService.MutateMediaFiles][google.ads.googleads.v7.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.v7.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.v7.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 (e.g. 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; + + // 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.v7.resources.MediaFile media_file = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/merchant_center_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/merchant_center_link_service.proto new file mode 100644 index 000000000..9cfd7ea56 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/merchant_center_link_service.proto @@ -0,0 +1,160 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "MerchantCenterLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/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.v7.resources.MerchantCenterLink) { + option (google.api.http) = { + get: "/v7/{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: "/v7/customers/{customer_id=*}/merchantCenterLinks:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operation"; + } +} + +// Request message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v7.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.v7.services.MerchantCenterLinkService.ListMerchantCenterLinks]. +message ListMerchantCenterLinksResponse { + // Merchant Center links available for the requested customer + repeated google.ads.googleads.v7.resources.MerchantCenterLink merchant_center_links = 1; +} + +// Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/mobile_app_category_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/mobile_app_category_constant_service.proto new file mode 100644 index 000000000..434e602d8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/mobile_app_category_constant_service.proto @@ -0,0 +1,66 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/mobile_app_category_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "MobileAppCategoryConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Service to fetch mobile app category constants. +service MobileAppCategoryConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested mobile app category constant. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetMobileAppCategoryConstant(GetMobileAppCategoryConstantRequest) returns (google.ads.googleads.v7.resources.MobileAppCategoryConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=mobileAppCategoryConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v7.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. +message GetMobileAppCategoryConstantRequest { + // Required. Resource name of the mobile app category constant to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/MobileAppCategoryConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/mobile_device_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/mobile_device_constant_service.proto new file mode 100644 index 000000000..494590d75 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/mobile_device_constant_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/mobile_device_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "MobileDeviceConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the mobile device constant service. + +// Service to fetch mobile device constants. +service MobileDeviceConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested mobile device constant in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetMobileDeviceConstant(GetMobileDeviceConstantRequest) returns (google.ads.googleads.v7.resources.MobileDeviceConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=mobileDeviceConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v7.services.MobileDeviceConstantService.GetMobileDeviceConstant]. +message GetMobileDeviceConstantRequest { + // Required. Resource name of the mobile device to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/MobileDeviceConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/offline_user_data_job_service.proto new file mode 100644 index 000000000..07b5e2c47 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/offline_user_data_job_service.proto @@ -0,0 +1,224 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/offline_user_data.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "OfflineUserDataJobServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/customers/{customer_id=*}/offlineUserDataJobs:create" + body: "*" + }; + option (google.api.method_signature) = "customer_id,job"; + } + + // Returns the offline user data job. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetOfflineUserDataJob(GetOfflineUserDataJobRequest) returns (google.ads.googleads.v7.resources.OfflineUserDataJob) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/offlineUserDataJobs/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/{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: "/v7/{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.protobuf.Empty" + }; + } +} + +// Request message for +// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v7.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.v7.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; +} + +// Response message for +// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v7.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. +message CreateOfflineUserDataJobResponse { + // The resource name of the OfflineUserDataJob. + string resource_name = 1; +} + +// Request message for [OfflineUserDataJobService.GetOfflineUserDataJob][google.ads.googleads.v7.services.OfflineUserDataJobService.GetOfflineUserDataJob]. +message GetOfflineUserDataJobRequest { + // Required. The resource name of the OfflineUserDataJob to get. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/OfflineUserDataJob" + } + ]; +} + +// Request message for [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v7.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.v7.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; + + // 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.v7.common.UserData create = 1; + + // Remove the provided data from the transaction. Data cannot be retrieved + // after being uploaded. + google.ads.googleads.v7.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.v7.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 (e.g. auth errors), + // we return an RPC level error. + google.rpc.Status partial_failure_error = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/operating_system_version_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/operating_system_version_constant_service.proto new file mode 100644 index 000000000..e10e088fb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/operating_system_version_constant_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/operating_system_version_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "OperatingSystemVersionConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the OS version constant service + +// Service to fetch Operating System Version constants. +service OperatingSystemVersionConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested OS version constant in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetOperatingSystemVersionConstant(GetOperatingSystemVersionConstantRequest) returns (google.ads.googleads.v7.resources.OperatingSystemVersionConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=operatingSystemVersionConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v7.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. +message GetOperatingSystemVersionConstantRequest { + // Required. Resource name of the OS version to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/OperatingSystemVersionConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/paid_organic_search_term_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/paid_organic_search_term_view_service.proto new file mode 100644 index 000000000..023b1d1fa --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/paid_organic_search_term_view_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/paid_organic_search_term_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "PaidOrganicSearchTermViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Paid Organic Search Term View service. + +// Service to fetch paid organic search term views. +service PaidOrganicSearchTermViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested paid organic search term view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetPaidOrganicSearchTermView(GetPaidOrganicSearchTermViewRequest) returns (google.ads.googleads.v7.resources.PaidOrganicSearchTermView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/paidOrganicSearchTermViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView][google.ads.googleads.v7.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView]. +message GetPaidOrganicSearchTermViewRequest { + // Required. The resource name of the paid organic search term view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/PaidOrganicSearchTermView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/parental_status_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/parental_status_view_service.proto new file mode 100644 index 000000000..5ce2f72e3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/parental_status_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/parental_status_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ParentalStatusViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Parental Status View service. + +// Service to manage parental status views. +service ParentalStatusViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested parental status view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetParentalStatusView(GetParentalStatusViewRequest) returns (google.ads.googleads.v7.resources.ParentalStatusView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/parentalStatusViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v7.services.ParentalStatusViewService.GetParentalStatusView]. +message GetParentalStatusViewRequest { + // Required. The resource name of the parental status view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ParentalStatusView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/payments_account_service.proto new file mode 100644 index 000000000..cf03e81f7 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/payments_account_service.proto @@ -0,0 +1,71 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "PaymentsAccountServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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: "/v7/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.v7.services.PaymentsAccountService.ListPaymentsAccounts]. +message ListPaymentsAccountsResponse { + // The list of accessible payments accounts. + repeated google.ads.googleads.v7.resources.PaymentsAccount payments_accounts = 1; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/product_bidding_category_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/product_bidding_category_constant_service.proto new file mode 100644 index 000000000..04ea8bbc2 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/product_bidding_category_constant_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/product_bidding_category_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ProductBiddingCategoryConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Product Bidding Category constant service + +// Service to fetch Product Bidding Categories. +service ProductBiddingCategoryConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Product Bidding Category in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetProductBiddingCategoryConstant(GetProductBiddingCategoryConstantRequest) returns (google.ads.googleads.v7.resources.ProductBiddingCategoryConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=productBiddingCategoryConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant][google.ads.googleads.v7.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant]. +message GetProductBiddingCategoryConstantRequest { + // Required. Resource name of the Product Bidding Category to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ProductBiddingCategoryConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/product_group_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/product_group_view_service.proto new file mode 100644 index 000000000..58a5e6ed8 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/product_group_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/product_group_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ProductGroupViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the ProductGroup View service. + +// Service to manage product group views. +service ProductGroupViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested product group view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetProductGroupView(GetProductGroupViewRequest) returns (google.ads.googleads.v7.resources.ProductGroupView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/productGroupViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v7.services.ProductGroupViewService.GetProductGroupView]. +message GetProductGroupViewRequest { + // Required. The resource name of the product group view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ProductGroupView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/reach_plan_service.proto new file mode 100644 index 000000000..7b0254186 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/reach_plan_service.proto @@ -0,0 +1,477 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/criteria.proto"; +import "google/ads/googleads/v7/enums/frequency_cap_time_unit.proto"; +import "google/ads/googleads/v7/enums/reach_plan_ad_length.proto"; +import "google/ads/googleads/v7/enums/reach_plan_age_range.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ReachPlanServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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 & DMAs). + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc ListPlannableLocations(ListPlannableLocationsRequest) returns (ListPlannableLocationsResponse) { + option (google.api.http) = { + post: "/v7: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: "/v7: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: "/v7/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: "/v7/customers/{customer_id=*}:generateReachForecast" + body: "*" + }; + option (google.api.method_signature) = "customer_id,campaign_duration,planned_products"; + } +} + +// Request message for [ReachPlanService.ListPlannableLocations][google.ads.googleads.v7.services.ReachPlanService.ListPlannableLocations]. +message ListPlannableLocationsRequest { + +} + +// The list of plannable locations. +message ListPlannableLocationsResponse { + // The list of locations available for planning (Countries, DMAs, + // sub-countries). + // For locations like Countries, DMAs see + // https://developers.google.com/adwords/api/docs/appendix/geotargeting for + // more information. + repeated PlannableLocation plannable_locations = 1; +} + +// A plannable location: a country, a DMA, a metro region, a tv region, +// a province. +message PlannableLocation { + // The location identifier. + optional string id = 4; + + // The unique location name in english. + optional string name = 5; + + // The parent country code, not present if location is a country. + // If present will always be a criterion id: additional information, such as + // country name are returned both via ListPlannableLocations or directly by + // accessing GeoTargetConstantService with the criterion id. + optional int64 parent_country_id = 6; +} + +// 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 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. E.g. BUMPER, TRUEVIEW_IN_STREAM + // To list the available plannable product codes use 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.v7.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; + + // Targetable genders for the ad product. + repeated google.ads.googleads.v7.common.GenderInfo genders = 2; + + // Targetable devices for the ad product. + repeated google.ads.googleads.v7.common.DeviceInfo devices = 3; + + // Targetable networks for the ad product. + repeated google.ads.googleads.v7.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; +} + +// Request message for [ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v7.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 + // 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.v7.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 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.v7.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]; + + // Desired cookie frequency cap that will 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. + // Please use cookie_frequency_cap_setting instead. + optional int32 cookie_frequency_cap = 10; + + // Desired cookie frequency cap that will 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, no cap is applied. + // + // This field replaces the deprecated cookie_frequency_cap field. + FrequencyCap cookie_frequency_cap_setting = 8; + + // Desired 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. + optional int32 min_effective_frequency = 11; + + // 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, please consult an implementation specialist. + // + // See specific metrics for details on how targeting affects them. + // + // In some cases, targeting may be overridden using the + // PlannedProduct.advanced_product_targeting field. + 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]; +} + +// 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.v7.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 locations ID can be obtained from ListPlannableLocations. + optional string plannable_location_id = 6; + + // Targeted age range. + // If not specified, targets all age ranges. + google.ads.googleads.v7.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; + + // Targeted genders. + // If not specified, targets all genders. + repeated google.ads.googleads.v7.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 ListPlannableProducts. + repeated google.ads.googleads.v7.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 ListPlannableProducts. + google.ads.googleads.v7.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; +} + +// The duration of a planned campaign. +message CampaignDuration { + // The duration value in days. + optional int32 duration_in_days = 2; +} + +// A product being planned for reach. +message PlannedProduct { + // Required. Selected product for planning. + // The code associated with the ad product. E.g. Trueview, Bumper + // To list the available plannable product codes use 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. + // E.g. 1 000 000$ = 1 000 000 000 000 micros. + optional int64 budget_micros = 4; +} + +// 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 times that exactly + // matches the Targeting. + optional int64 on_target_reach = 5; + + // Total number of unique people reached at least + // GenerateReachForecastRequest.min_effective_frequency times. This includes + // people that may fall outside the specified Targeting. + 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; +} + +// 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. + int64 on_target_reach = 1; + + // Number of unique people reached. This includes people that may fall + // outside the specified Targeting. + 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; +} + +// 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/recommendation_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/recommendation_service.proto new file mode 100644 index 000000000..e3f114140 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/recommendation_service.proto @@ -0,0 +1,309 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/extensions.proto"; +import "google/ads/googleads/v7/enums/keyword_match_type.proto"; +import "google/ads/googleads/v7/resources/ad.proto"; +import "google/ads/googleads/v7/resources/recommendation.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "RecommendationServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested recommendation in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetRecommendation(GetRecommendationRequest) returns (google.ads.googleads.v7.resources.Recommendation) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/recommendations/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/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: "/v7/customers/{customer_id=*}/recommendations:dismiss" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [RecommendationService.GetRecommendation][google.ads.googleads.v7.services.RecommendationService.GetRecommendation]. +message GetRecommendationRequest { + // Required. The resource name of the recommendation to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Recommendation" + } + ]; +} + +// Request message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v7.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.v7.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.v7.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. + 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.v7.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.v7.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.v7.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 recommendation. + message ResponsiveSearchAdParameters { + // Required. New ad to add to recommended ad group. + google.ads.googleads.v7.resources.Ad ad = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // The resource name of the recommendation to apply. + string resource_name = 1; + + // 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; + } +} + +// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v7.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 (e.g. 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; +} + +// Request message for [RecommendationService.DismissRecommendation][google.ads.googleads.v7.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.v7.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 (e.g. auth errors) + // we return the RPC level error. + google.rpc.Status partial_failure_error = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/remarketing_action_service.proto new file mode 100644 index 000000000..e32cff7f1 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/remarketing_action_service.proto @@ -0,0 +1,141 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "RemarketingActionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested remarketing action in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetRemarketingAction(GetRemarketingActionRequest) returns (google.ads.googleads.v7.resources.RemarketingAction) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/remarketingActions/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/remarketingActions:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v7.services.RemarketingActionService.GetRemarketingAction]. +message GetRemarketingActionRequest { + // Required. The resource name of the remarketing action to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/RemarketingAction" + } + ]; +} + +// Request message for [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v7.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.v7.resources.RemarketingAction create = 1; + + // Update operation: The remarketing action is expected to have a valid + // resource name. + google.ads.googleads.v7.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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/search_term_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/search_term_view_service.proto new file mode 100644 index 000000000..fd86adf64 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/search_term_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/search_term_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "SearchTermViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Search Term View service. + +// Service to manage search term views. +service SearchTermViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the attributes of the requested search term view. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetSearchTermView(GetSearchTermViewRequest) returns (google.ads.googleads.v7.resources.SearchTermView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/searchTermViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [SearchTermViewService.GetSearchTermView][google.ads.googleads.v7.services.SearchTermViewService.GetSearchTermView]. +message GetSearchTermViewRequest { + // Required. The resource name of the search term view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/SearchTermView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/shared_criterion_service.proto new file mode 100644 index 000000000..84526e825 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/shared_criterion_service.proto @@ -0,0 +1,162 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "SharedCriterionServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested shared criterion in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetSharedCriterion(GetSharedCriterionRequest) returns (google.ads.googleads.v7.resources.SharedCriterion) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/sharedCriteria/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/sharedCriteria:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v7.services.SharedCriterionService.GetSharedCriterion]. +message GetSharedCriterionRequest { + // Required. The resource name of the shared criterion to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/SharedCriterion" + } + ]; +} + +// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v7.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.v7.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.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.SharedCriterion shared_criterion = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/shared_set_service.proto new file mode 100644 index 000000000..ac2c6bd52 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/shared_set_service.proto @@ -0,0 +1,172 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/enums/response_content_type.proto"; +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "SharedSetServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested shared set in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetSharedSet(GetSharedSetRequest) returns (google.ads.googleads.v7.resources.SharedSet) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/sharedSets/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/sharedSets:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [SharedSetService.GetSharedSet][google.ads.googleads.v7.services.SharedSetService.GetSharedSet]. +message GetSharedSetRequest { + // Required. The resource name of the shared set to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/SharedSet" + } + ]; +} + +// Request message for [SharedSetService.MutateSharedSets][google.ads.googleads.v7.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.v7.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.v7.resources.SharedSet create = 1; + + // Update operation: The shared set is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; + + // 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.v7.resources.SharedSet shared_set = 2; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/shopping_performance_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/shopping_performance_view_service.proto new file mode 100644 index 000000000..b686d4dcb --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/shopping_performance_view_service.proto @@ -0,0 +1,68 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/shopping_performance_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ShoppingPerformanceViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the ShoppingPerformanceView service. + +// Service to fetch Shopping performance views. +service ShoppingPerformanceViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested Shopping performance view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetShoppingPerformanceView(GetShoppingPerformanceViewRequest) returns (google.ads.googleads.v7.resources.ShoppingPerformanceView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/shoppingPerformanceView}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for +// [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v7.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. +message GetShoppingPerformanceViewRequest { + // Required. The resource name of the Shopping performance view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/ShoppingPerformanceView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/third_party_app_analytics_link_service.proto new file mode 100644 index 000000000..93570ed9d --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/third_party_app_analytics_link_service.proto @@ -0,0 +1,94 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/third_party_app_analytics_link.proto"; +import "google/api/annotations.proto"; +import "google/api/resource.proto"; +import "google/api/client.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the third party app analytics link in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetThirdPartyAppAnalyticsLink(GetThirdPartyAppAnalyticsLinkRequest) returns (google.ads.googleads.v7.resources.ThirdPartyAppAnalyticsLink) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}" + }; + } + + // 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: "/v7/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + body: "*" + }; + } +} + +// Request message for +// [ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink][google.ads.googleads.v7.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink]. +message GetThirdPartyAppAnalyticsLinkRequest { + // Resource name of the third party app analytics link. + string resource_name = 1 [(google.api.resource_reference) = { + type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" + }]; +} + +// Request message for +// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v7.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.v7.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. +message RegenerateShareableLinkIdResponse { + +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/topic_constant_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/topic_constant_service.proto new file mode 100644 index 000000000..ec0ba8db3 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/topic_constant_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/topic_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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "TopicConstantServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Topic constant service + +// Service to fetch topic constants. +service TopicConstantService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested topic constant in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetTopicConstant(GetTopicConstantRequest) returns (google.ads.googleads.v7.resources.TopicConstant) { + option (google.api.http) = { + get: "/v7/{resource_name=topicConstants/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [TopicConstantService.GetTopicConstant][google.ads.googleads.v7.services.TopicConstantService.GetTopicConstant]. +message GetTopicConstantRequest { + // Required. Resource name of the Topic to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/TopicConstant" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/topic_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/topic_view_service.proto new file mode 100644 index 000000000..26a47fd29 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/topic_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/topic_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "TopicViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Topic View service. + +// Service to manage topic views. +service TopicViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested topic view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetTopicView(GetTopicViewRequest) returns (google.ads.googleads.v7.resources.TopicView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/topicViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [TopicViewService.GetTopicView][google.ads.googleads.v7.services.TopicViewService.GetTopicView]. +message GetTopicViewRequest { + // Required. The resource name of the topic view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/TopicView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/user_data_service.proto new file mode 100644 index 000000000..fad6f5723 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/user_data_service.proto @@ -0,0 +1,98 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/common/offline_user_data.proto"; +import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; +import "google/api/client.proto"; + +option csharp_namespace = "Google.Ads.GoogleAds.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "UserDataServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the UserDataService. + +// Service to manage user data uploads. +// Accessible only to customers on the allow-list. +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: "/v7/customers/{customer_id=*}:uploadUserData" + body: "*" + }; + } +} + +// Request message for [UserDataService.UploadUserData][google.ads.googleads.v7.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.v7.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.v7.common.UserData create = 1; + + // The list of user data to be removed from the user list. + google.ads.googleads.v7.common.UserData remove = 2; + } +} + +// Response message for [UserDataService.UploadUserData][google.ads.googleads.v7.services.UserDataService.UploadUserData] +message UploadUserDataResponse { + // The date time at which the request was received by API, formatted as + // "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "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/v7/services/user_interest_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/user_interest_service.proto new file mode 100644 index 000000000..49d935e11 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/user_interest_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/user_interest.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "UserInterestServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the user interest service + +// Service to fetch Google Ads User Interest. +service UserInterestService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested user interest in full detail + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetUserInterest(GetUserInterestRequest) returns (google.ads.googleads.v7.resources.UserInterest) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/userInterests/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [UserInterestService.GetUserInterest][google.ads.googleads.v7.services.UserInterestService.GetUserInterest]. +message GetUserInterestRequest { + // Required. Resource name of the UserInterest to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/UserInterest" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/user_list_service.proto new file mode 100644 index 000000000..c77f9a849 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/user_list_service.proto @@ -0,0 +1,159 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "UserListServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::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"; + + // Returns the requested user list. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetUserList(GetUserListRequest) returns (google.ads.googleads.v7.resources.UserList) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/userLists/*}" + }; + option (google.api.method_signature) = "resource_name"; + } + + // 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: "/v7/customers/{customer_id=*}/userLists:mutate" + body: "*" + }; + option (google.api.method_signature) = "customer_id,operations"; + } +} + +// Request message for [UserListService.GetUserList][google.ads.googleads.v7.services.UserListService.GetUserList]. +message GetUserListRequest { + // Required. The resource name of the user list to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/UserList" + } + ]; +} + +// Request message for [UserListService.MutateUserLists][google.ads.googleads.v7.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.v7.resources.UserList create = 1; + + // Update operation: The user list is expected to have a valid resource + // name. + google.ads.googleads.v7.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; + } +} + +// 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 (e.g. 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; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/user_location_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/user_location_view_service.proto new file mode 100644 index 000000000..d93e6fad6 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/user_location_view_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/user_location_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "UserLocationViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the UserLocationView service. + +// Service to manage user location views. +service UserLocationViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested user location view in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetUserLocationView(GetUserLocationViewRequest) returns (google.ads.googleads.v7.resources.UserLocationView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/userLocationViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [UserLocationViewService.GetUserLocationView][google.ads.googleads.v7.services.UserLocationViewService.GetUserLocationView]. +message GetUserLocationViewRequest { + // Required. The resource name of the user location view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/UserLocationView" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/video_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/video_service.proto new file mode 100644 index 000000000..41f986a06 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/video_service.proto @@ -0,0 +1,67 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/video.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "VideoServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Video service. + +// Service to manage videos. +service VideoService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested video in full detail. + // + // List of thrown errors: + // [AuthenticationError]() + // [AuthorizationError]() + // [HeaderError]() + // [InternalError]() + // [QuotaError]() + // [RequestError]() + rpc GetVideo(GetVideoRequest) returns (google.ads.googleads.v7.resources.Video) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/videos/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [VideoService.GetVideo][google.ads.googleads.v7.services.VideoService.GetVideo]. +message GetVideoRequest { + // Required. The resource name of the video to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/Video" + } + ]; +} diff --git a/third_party/googleapis/google/ads/googleads/v7/services/webpage_view_service.proto b/third_party/googleapis/google/ads/googleads/v7/services/webpage_view_service.proto new file mode 100644 index 000000000..a0fe35013 --- /dev/null +++ b/third_party/googleapis/google/ads/googleads/v7/services/webpage_view_service.proto @@ -0,0 +1,59 @@ +// 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.ads.googleads.v7.services; + +import "google/ads/googleads/v7/resources/webpage_view.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.V7.Services"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v7/services;services"; +option java_multiple_files = true; +option java_outer_classname = "WebpageViewServiceProto"; +option java_package = "com.google.ads.googleads.v7.services"; +option objc_class_prefix = "GAA"; +option php_namespace = "Google\\Ads\\GoogleAds\\V7\\Services"; +option ruby_package = "Google::Ads::GoogleAds::V7::Services"; + +// Proto file describing the Webpage View service. + +// Service to manage webpage views. +service WebpageViewService { + option (google.api.default_host) = "googleads.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; + + // Returns the requested webpage view in full detail. + rpc GetWebpageView(GetWebpageViewRequest) returns (google.ads.googleads.v7.resources.WebpageView) { + option (google.api.http) = { + get: "/v7/{resource_name=customers/*/webpageViews/*}" + }; + option (google.api.method_signature) = "resource_name"; + } +} + +// Request message for [WebpageViewService.GetWebpageView][google.ads.googleads.v7.services.WebpageViewService.GetWebpageView]. +message GetWebpageViewRequest { + // Required. The resource name of the webpage view to fetch. + string resource_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "googleads.googleapis.com/WebpageView" + } + ]; +} diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel b/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel index da8102417..7d5adec34 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel @@ -171,13 +171,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -193,11 +194,8 @@ php_grpc_library( php_gapic_library( name = "admin_php_gapic", - src = ":admin_proto_with_info", - gapic_yaml = "analyticsadmin_gapic.yaml", + srcs = [":admin_proto_with_info"], grpc_service_config = "admin_grpc_service_config.json", - package = "google.analytics.admin.v1alpha", - service_yaml = "analyticsadmin_v1alpha.yaml", deps = [ ":admin_php_grpc", ":admin_php_proto", @@ -248,7 +246,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -264,13 +262,18 @@ ruby_grpc_library( deps = [":admin_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "admin_ruby_gapic", - src = ":admin_proto_with_info", - gapic_yaml = "analyticsadmin_gapic.yaml", + srcs = [":admin_proto_with_info",], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-analytics-admin-v1alpha", + "ruby-cloud-env-prefix=ANALYTICS_ADMIN", + "ruby-cloud-api-id=analyticsadmin.googleapis.com", + "ruby-cloud-api-shortname=analyticsadmin", + ], grpc_service_config = "admin_grpc_service_config.json", - package = "google.analytics.admin.v1alpha", - service_yaml = "analyticsadmin_v1alpha.yaml", + 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", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", 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 712cc601f..14ba713d9 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto @@ -140,7 +140,7 @@ service AnalyticsAdminService { // https://support.google.com/analytics/answer/6154772 // // Returns an error if the target is not found, or is not an GA4 Property. - rpc DeleteProperty(DeletePropertyRequest) returns (google.protobuf.Empty) { + rpc DeleteProperty(DeletePropertyRequest) returns (Property) { option (google.api.http) = { delete: "/v1alpha/{name=properties/*}" }; @@ -358,23 +358,6 @@ service AnalyticsAdminService { option (google.api.method_signature) = "ios_app_data_stream,update_mask"; } - // Creates an iOS app stream with the specified location and attributes. - // - // Note that an iOS app stream must be linked to a Firebase app to receive - // traffic. - // - // To create a working app stream, make sure your property is linked to a - // Firebase project. Then, use the Firebase API to create a Firebase app, - // which will also create an appropriate data stream in Analytics (may take up - // to 24 hours). - rpc CreateIosAppDataStream(CreateIosAppDataStreamRequest) returns (IosAppDataStream) { - option (google.api.http) = { - post: "/v1alpha/{parent=properties/*}/iosAppDataStreams" - body: "ios_app_data_stream" - }; - option (google.api.method_signature) = "parent,ios_app_data_stream"; - } - // Returns child iOS app data streams under the specified parent property. // // iOS app data streams will be excluded if the caller does not have access. @@ -411,23 +394,6 @@ service AnalyticsAdminService { option (google.api.method_signature) = "android_app_data_stream,update_mask"; } - // Creates an Android app stream with the specified location and attributes. - // - // Note that an Android app stream must be linked to a Firebase app to receive - // traffic. - // - // To create a working app stream, make sure your property is linked to a - // Firebase project. Then, use the Firebase API to create a Firebase app, - // which will also create an appropriate data stream in Analytics (may take up - // to 24 hours). - rpc CreateAndroidAppDataStream(CreateAndroidAppDataStreamRequest) returns (AndroidAppDataStream) { - option (google.api.http) = { - post: "/v1alpha/{parent=properties/*}/androidAppDataStreams" - body: "android_app_data_stream" - }; - option (google.api.method_signature) = "parent,android_app_data_stream"; - } - // Returns child android app streams under the specified parent property. // // Android app streams will be excluded if the caller does not have access. @@ -548,6 +514,230 @@ service AnalyticsAdminService { }; option (google.api.method_signature) = "name"; } + + // Lookup for a single "GA4" MeasurementProtocolSecret. + rpc GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + additional_bindings { + get: "/v1alpha/{name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + } + additional_bindings { + get: "/v1alpha/{name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Returns child MeasurementProtocolSecrets under the specified parent + // Property. + rpc ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest) returns (ListMeasurementProtocolSecretsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*/webDataStreams/*}/measurementProtocolSecrets" + additional_bindings { + get: "/v1alpha/{parent=properties/*/iosAppDataStreams/*}/measurementProtocolSecrets" + } + additional_bindings { + get: "/v1alpha/{parent=properties/*/androidAppDataStreams/*}/measurementProtocolSecrets" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a measurement protocol secret. + rpc CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*/webDataStreams/*}/measurementProtocolSecrets" + body: "measurement_protocol_secret" + additional_bindings { + post: "/v1alpha/{parent=properties/*/iosAppDataStreams/*}/measurementProtocolSecrets" + body: "measurement_protocol_secret" + } + additional_bindings { + post: "/v1alpha/{parent=properties/*/androidAppDataStreams/*}/measurementProtocolSecrets" + body: "measurement_protocol_secret" + } + }; + option (google.api.method_signature) = "parent,measurement_protocol_secret"; + } + + // Deletes target MeasurementProtocolSecret. + rpc DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + additional_bindings { + delete: "/v1alpha/{name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + } + additional_bindings { + delete: "/v1alpha/{name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Updates a measurement protocol secret. + rpc UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + option (google.api.http) = { + patch: "/v1alpha/{measurement_protocol_secret.name=properties/*/webDataStreams/*/measurementProtocolSecrets/*}" + body: "measurement_protocol_secret" + additional_bindings { + patch: "/v1alpha/{measurement_protocol_secret.name=properties/*/iosAppDataStreams/*/measurementProtocolSecrets/*}" + body: "measurement_protocol_secret" + } + additional_bindings { + patch: "/v1alpha/{measurement_protocol_secret.name=properties/*/androidAppDataStreams/*/measurementProtocolSecrets/*}" + body: "measurement_protocol_secret" + } + }; + option (google.api.method_signature) = "measurement_protocol_secret,update_mask"; + } + + // Searches through all changes to an account or its children given the + // specified set of filters. + rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) returns (SearchChangeHistoryEventsResponse) { + option (google.api.http) = { + post: "/v1alpha/{account=accounts/*}:searchChangeHistoryEvents" + body: "*" + }; + } + + // Lookup for Google Signals settings for a property. + rpc GetGoogleSignalsSettings(GetGoogleSignalsSettingsRequest) returns (GoogleSignalsSettings) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/googleSignalsSettings}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates Google Signals settings for a property. + rpc UpdateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest) returns (GoogleSignalsSettings) { + option (google.api.http) = { + patch: "/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}" + body: "google_signals_settings" + }; + option (google.api.method_signature) = "google_signals_settings,update_mask"; + } + + // Creates a conversion event with the specified attributes. + rpc CreateConversionEvent(CreateConversionEventRequest) returns (ConversionEvent) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/conversionEvents" + body: "conversion_event" + }; + option (google.api.method_signature) = "parent,conversion_event"; + } + + // Retrieve a single conversion event. + rpc GetConversionEvent(GetConversionEventRequest) returns (ConversionEvent) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/conversionEvents/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a conversion event in a property. + rpc DeleteConversionEvent(DeleteConversionEventRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/conversionEvents/*}" + }; + option (google.api.method_signature) = "name"; + } + + // 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) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/conversionEvents" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a CustomDimension. + rpc CreateCustomDimension(CreateCustomDimensionRequest) returns (CustomDimension) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/customDimensions" + body: "custom_dimension" + }; + option (google.api.method_signature) = "parent,custom_dimension"; + } + + // Updates a CustomDimension on a property. + rpc UpdateCustomDimension(UpdateCustomDimensionRequest) returns (CustomDimension) { + option (google.api.http) = { + patch: "/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}" + body: "custom_dimension" + }; + option (google.api.method_signature) = "custom_dimension,update_mask"; + } + + // Lists CustomDimensions on a property. + rpc ListCustomDimensions(ListCustomDimensionsRequest) returns (ListCustomDimensionsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/customDimensions" + }; + option (google.api.method_signature) = "parent"; + } + + // Archives a CustomDimension on a property. + rpc ArchiveCustomDimension(ArchiveCustomDimensionRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1alpha/{name=properties/*/customDimensions/*}:archive" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Lookup for a single CustomDimension. + rpc GetCustomDimension(GetCustomDimensionRequest) returns (CustomDimension) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/customDimensions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a CustomMetric. + rpc CreateCustomMetric(CreateCustomMetricRequest) returns (CustomMetric) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/customMetrics" + body: "custom_metric" + }; + option (google.api.method_signature) = "parent,custom_metric"; + } + + // Updates a CustomMetric on a property. + rpc UpdateCustomMetric(UpdateCustomMetricRequest) returns (CustomMetric) { + option (google.api.http) = { + patch: "/v1alpha/{custom_metric.name=properties/*/customMetrics/*}" + body: "custom_metric" + }; + option (google.api.method_signature) = "custom_metric,update_mask"; + } + + // Lists CustomMetrics on a property. + rpc ListCustomMetrics(ListCustomMetricsRequest) returns (ListCustomMetricsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/customMetrics" + }; + option (google.api.method_signature) = "parent"; + } + + // Archives a CustomMetric on a property. + rpc ArchiveCustomMetric(ArchiveCustomMetricRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1alpha/{name=properties/*/customMetrics/*}:archive" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Lookup for a single CustomMetric. + rpc GetCustomMetric(GetCustomMetricRequest) returns (CustomMetric) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/customMetrics/*}" + }; + option (google.api.method_signature) = "name"; + } } // Request message for GetAccount RPC. @@ -1071,21 +1261,6 @@ message UpdateIosAppDataStreamRequest { google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for CreateIosAppDataStream RPC. -message CreateIosAppDataStreamRequest { - // Required. The iOS app data stream to create. - IosAppDataStream ios_app_data_stream = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The parent resource where this ios app data stream will be created. - // Format: properties/123 - string parent = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/IosAppDataStream" - } - ]; -} - // Request message for ListIosAppDataStreams RPC. message ListIosAppDataStreamsRequest { // Required. The name of the parent property. @@ -1158,21 +1333,6 @@ message UpdateAndroidAppDataStreamRequest { google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for CreateAndroidAppDataStream RPC. -message CreateAndroidAppDataStreamRequest { - // Required. The android app stream to create. - AndroidAppDataStream android_app_data_stream = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The parent resource where this android app data stream will be created. - // Format: properties/123 - string parent = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/AndroidAppDataStream" - } - ]; -} - // Request message for ListAndroidAppDataStreams RPC. message ListAndroidAppDataStreamsRequest { // Required. The name of the parent property. @@ -1429,3 +1589,416 @@ message ListAccountSummariesResponse { // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } + +// Request message for SearchChangeHistoryEvents RPC. +message SearchChangeHistoryEventsRequest { + // Required. The account resource for which to return change history resources. + string account = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Account" + } + ]; + + // Optional. Resource name for a child property. If set, only return changes + // made to this property or its child resources. + string property = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Property" + } + ]; + + // 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. + 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. + 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]; + + // Optional. If set, only return changes made before this time (inclusive). + 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 + // pages. If unspecified, at most 50 items will be returned. + // 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. + string page_token = 9 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for SearchAccounts RPC. +message SearchChangeHistoryEventsResponse { + // Results that were accessible to the caller. + repeated ChangeHistoryEvent change_history_events = 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 GetMeasurementProtocolSecret RPC. +message GetMeasurementProtocolSecretRequest { + // Required. The name of the measurement protocol secret to lookup. + // Format: + // properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + // Note: Any type of stream (WebDataStream, IosAppDataStream, + // AndroidAppDataStream) may be a parent. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" + } + ]; +} + +// Request message for CreateMeasurementProtocolSecret RPC +message CreateMeasurementProtocolSecretRequest { + // Required. The parent resource where this secret will be created. + // Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) + // may be a parent. + // Format: properties/{property}/webDataStreams/{webDataStream} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" + } + ]; + + // Required. The measurement protocol secret to create. + MeasurementProtocolSecret measurement_protocol_secret = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteMeasurementProtocolSecret RPC +message DeleteMeasurementProtocolSecretRequest { + // Required. The name of the MeasurementProtocolSecret to delete. + // Format: + // properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + // Note: Any type of stream (WebDataStream, IosAppDataStream, + // AndroidAppDataStream) may be a parent. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" + } + ]; +} + +// Request message for UpdateMeasurementProtocolSecret RPC +message UpdateMeasurementProtocolSecretRequest { + // Required. The measurement protocol secret to update. + 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; +} + +// Request message for ListMeasurementProtocolSecret RPC +message ListMeasurementProtocolSecretsRequest { + // Required. The resource name of the parent stream. + // Any type of stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) + // may be a parent. + // Format: + // properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 10 resources will be returned. + // The maximum value is 10. Higher values will be coerced to the maximum. + int32 page_size = 2; + + // A page token, received from a previous `ListMeasurementProtocolSecrets` + // call. Provide this to retrieve the subsequent page. When paginating, all + // other parameters provided to `ListMeasurementProtocolSecrets` must match + // the call that provided the page token. + string page_token = 3; +} + +// Response message for ListMeasurementProtocolSecret RPC +message ListMeasurementProtocolSecretsResponse { + // A list of secrets for the parent stream specified in the request. + repeated MeasurementProtocolSecret measurement_protocol_secrets = 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 GetGoogleSignalsSettings RPC +message GetGoogleSignalsSettingsRequest { + // Required. The name of the google signals settings to retrieve. + // Format: properties/{property}/googleSignalsSettings + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/GoogleSignalsSettings" + } + ]; +} + +// Request message for UpdateGoogleSignalsSettings RPC +message UpdateGoogleSignalsSettingsRequest { + // Required. The settings to update. + // The `name` field is used to identify the settings to be updated. + GoogleSignalsSettings google_signals_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 CreateConversionEvent RPC +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 + string parent = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/ConversionEvent" + } + ]; +} + +// Request message for GetConversionEvent RPC +message GetConversionEventRequest { + // Required. The resource name of the conversion event to retrieve. + // Format: properties/{property}/conversionEvents/{conversion_event} + // Example: "properties/123/conversionEvents/456" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/ConversionEvent" + } + ]; +} + +// Request message for DeleteConversionEvent RPC +message DeleteConversionEventRequest { + // Required. The resource name of the conversion event to delete. + // Format: properties/{property}/conversionEvents/{conversion_event} + // Example: "properties/123/conversionEvents/456" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/ConversionEvent" + } + ]; +} + +// Request message for ListConversionEvents RPC +message ListConversionEventsRequest { + // Required. The resource name of the parent property. + // Example: 'properties/123' + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/ConversionEvent" + } + ]; + + // 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 `ListConversionEvents` call. + // Provide this to retrieve the subsequent page. + // When paginating, all other parameters provided to `ListConversionEvents` + // must match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListConversionEvents RPC. +message ListConversionEventsResponse { + // The requested conversion events + repeated ConversionEvent conversion_events = 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 CreateCustomDimension RPC. +message CreateCustomDimensionRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/CustomDimension" + } + ]; + + // Required. The CustomDimension to create. + CustomDimension custom_dimension = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for UpdateCustomDimension RPC. +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]; +} + +// Request message for ListCustomDimensions RPC. +message ListCustomDimensionsRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/CustomDimension" + } + ]; + + // 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 `ListCustomDimensions` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListCustomDimensions` + // must match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListCustomDimensions RPC. +message ListCustomDimensionsResponse { + // List of CustomDimensions. + repeated CustomDimension custom_dimensions = 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 ArchiveCustomDimension RPC. +message ArchiveCustomDimensionRequest { + // Required. The name of the CustomDimension to archive. + // Example format: properties/1234/customDimensions/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CustomDimension" + } + ]; +} + +// Request message for GetCustomDimension RPC. +message GetCustomDimensionRequest { + // Required. The name of the CustomDimension to get. + // Example format: properties/1234/customDimensions/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CustomDimension" + } + ]; +} + +// Request message for CreateCustomMetric RPC. +message CreateCustomMetricRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/CustomMetric" + } + ]; + + // Required. The CustomMetric to create. + CustomMetric custom_metric = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for UpdateCustomMetric RPC. +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]; +} + +// Request message for ListCustomMetrics RPC. +message ListCustomMetricsRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/CustomMetric" + } + ]; + + // 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 `ListCustomMetrics` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListCustomMetrics` must + // match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListCustomMetrics RPC. +message ListCustomMetricsResponse { + // List of CustomMetrics. + repeated CustomMetric custom_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 ArchiveCustomMetric RPC. +message ArchiveCustomMetricRequest { + // Required. The name of the CustomMetric to archive. + // Example format: properties/1234/customMetrics/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CustomMetric" + } + ]; +} + +// Request message for GetCustomMetric RPC. +message GetCustomMetricRequest { + // Required. The name of the CustomMetric to get. + // Example format: properties/1234/customMetrics/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CustomMetric" + } + ]; +} diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_gapic.yaml b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_gapic.yaml index a6a8ef8ee..0bcb880b6 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_gapic.yaml +++ b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_gapic.yaml @@ -1,16 +1,2 @@ type: com.google.api.codegen.ConfigProto config_schema_version: 2.0.0 -language_settings: - python: - package_name: google.analytics.admin.v1alpha.gapic - go: - package_name: google.golang.org/api/analyticsadmin/v1alpha - csharp: - package_name: Google.Analytics.Admin.V1alpha - ruby: - package_name: Google::Analytics::Admin::V1alpha - php: - package_name: Google\Analytics\Admin\V1alpha - nodejs: - package_name: google.analytics.admin.v1alpha - domain_layer_location: analyticsadmin.google.com 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 339eed380..c604b15fb 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml +++ b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml @@ -52,6 +52,21 @@ authentication: 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.GetDataSharingSettings oauth: canonical_scopes: |- @@ -67,11 +82,21 @@ authentication: 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.GetIosAppDataStream 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: |- @@ -102,6 +127,21 @@ authentication: 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.ListFirebaseLinks oauth: canonical_scopes: |- @@ -117,6 +157,11 @@ authentication: 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: |- diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto b/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto index 3dfa5422e..7b6af2302 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto @@ -131,6 +131,108 @@ enum IndustryCategory { SHOPPING = 26; } +// Different kinds of actors that can make changes to Google Analytics +// resources. +enum ActorType { + // Unknown or unspecified actor type. + ACTOR_TYPE_UNSPECIFIED = 0; + + // Changes made by the user specified in actor_email. + USER = 1; + + // Changes made by the Google Analytics system. + SYSTEM = 2; + + // Changes made by Google Analytics support team staff. + SUPPORT = 3; +} + +// Types of actions that may change a resource. +enum ActionType { + // Action type unknown or not specified. + ACTION_TYPE_UNSPECIFIED = 0; + + // Resource was created in this change. + CREATED = 1; + + // Resource was updated in this change. + UPDATED = 2; + + // Resource was deleted in this change. + DELETED = 3; +} + +// Types of resources whose changes may be returned from change history. +enum ChangeHistoryResourceType { + // Resource type unknown or not specified. + CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; + + // Account resource + ACCOUNT = 1; + + // Property resource + PROPERTY = 2; + + // WebDataStream resource + WEB_DATA_STREAM = 3; + + // AndroidAppDataStream resource + ANDROID_APP_DATA_STREAM = 4; + + // IosAppDataStream resource + IOS_APP_DATA_STREAM = 5; + + // FirebaseLink resource + FIREBASE_LINK = 6; + + // GoogleAdsLink resource + GOOGLE_ADS_LINK = 7; + + // GoogleSignalsSettings resource + GOOGLE_SIGNALS_SETTINGS = 8; + + // ConversionEvent resource + CONVERSION_EVENT = 9; + + // MeasurementProtocolSecret resource + MEASUREMENT_PROTOCOL_SECRET = 10; + + // CustomDimension resource + CUSTOM_DIMENSION = 11; + + // CustomMetric resource + CUSTOM_METRIC = 12; +} + +// Status of the Google Signals settings (i.e., whether this feature has been +// enabled for the property). +enum GoogleSignalsState { + // Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to + // represent that the user has not made an explicit choice. + GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; + + // Google Signals is enabled. + GOOGLE_SIGNALS_ENABLED = 1; + + // Google Signals is disabled. + 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.) +enum GoogleSignalsConsent { + // Google Signals consent value defaults to + // GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as + // GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. + GOOGLE_SIGNALS_CONSENT_UNSPECIFIED = 0; + + // Terms of service have been accepted + GOOGLE_SIGNALS_CONSENT_CONSENTED = 2; + + // Terms of service have not been accepted + GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED = 1; +} + // A resource message representing a Google Analytics account. message Account { option (google.api.resource) = { @@ -194,7 +296,7 @@ message Property { // Example: AUTOMOTIVE, FOOD_AND_DRINK IndustryCategory industry_category = 6; - // Reporting Time Zone, used as the day boundary for reports, regardless of + // 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. // @@ -203,7 +305,7 @@ message Property { // // Format: https://www.iana.org/time-zones // Example: "America/Los_Angeles" - string time_zone = 7; + string time_zone = 7 [(google.api.field_behavior) = REQUIRED]; // The currency type used in reports involving monetary values. // @@ -212,9 +314,14 @@ message Property { // Examples: "USD", "EUR", "JPY" string currency_code = 8; - // Output only. Indicates whether this Property is soft-deleted or not. Deleted properties - // are excluded from List results unless specifically requested. - bool deleted = 9 [(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]; } // A resource message representing a Google Analytics Android app stream. @@ -329,11 +436,11 @@ message UserLink { pattern: "properties/{property}/userLinks/{user_link}" }; - // Example format: properties/1234/userLinks/5678 - string name = 1; + // Output only. Example format: properties/1234/userLinks/5678 + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Email address of the user to link - string email_address = 2; + // 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. // @@ -500,7 +607,7 @@ message GoogleAdsLink { // Enable personalized advertising features with this integration. // Automatically publish my Google Analytics audience lists and Google // Analytics remarketing events/parameters to the linked Google Ads account. - // If this field is not set on create/update it will be defaulted to true. + // If this field is not set on create/update, it will be defaulted to true. google.protobuf.BoolValue ads_personalization_enabled = 5; // Output only. Email address of the user that created the link. @@ -586,3 +693,308 @@ message PropertySummary { // Display name for the property referred to in this account summary. string display_name = 2; } + +// A secret value used for sending hits to Measurement Protocol. +message MeasurementProtocolSecret { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/MeasurementProtocolSecret" + pattern: "properties/{property}/webDataStreams/{web_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: + // properties/{property}/webDataStreams/{webDataStream}/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 + // secret's parent property. + string secret_value = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// 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 +// Analytics system changes. +message ChangeHistoryEvent { + // ID of this change history event. This ID is unique across Google Analytics. + string id = 1; + + // Time when change was made. + google.protobuf.Timestamp change_time = 2; + + // The type of actor that made this change. + ActorType actor_type = 3; + + // Email address of the Google account that made the change. This will be a + // valid email address if the actor field is set to USER, and empty otherwise. + // Google accounts that have been deleted will cause an error. + string user_actor_email = 4; + + // If true, then the list of changes returned was filtered, and does not + // represent all changes that occurred in this event. + bool changes_filtered = 5; + + // A list of changes made in this change history event that fit the filters + // specified in SearchChangeHistoryEventsRequest. + repeated ChangeHistoryChange changes = 6; +} + +// A description of a change to a single Google Analytics resource. +message ChangeHistoryChange { + // A snapshot of a resource as before or after the result of a change in + // change history. + message ChangeHistoryResource { + oneof resource { + // A snapshot of an Account resource in change history. + Account account = 1; + + // A snapshot of a Property resource in change history. + Property property = 2; + + // A snapshot of a WebDataStream resource in change history. + WebDataStream web_data_stream = 3; + + // A snapshot of an AndroidAppDataStream resource in change history. + AndroidAppDataStream android_app_data_stream = 4; + + // A snapshot of an IosAppDataStream resource in change history. + IosAppDataStream ios_app_data_stream = 5; + + // A snapshot of a FirebaseLink resource in change history. + FirebaseLink firebase_link = 6; + + // A snapshot of a GoogleAdsLink resource in change history. + GoogleAdsLink google_ads_link = 7; + + // A snapshot of a GoogleSignalsSettings resource in change history. + GoogleSignalsSettings google_signals_settings = 8; + + // A snapshot of a ConversionEvent resource in change history. + ConversionEvent conversion_event = 11; + + // A snapshot of a MeasurementProtocolSecret resource in change history. + MeasurementProtocolSecret measurement_protocol_secret = 12; + + // A snapshot of a CustomDimension resource in change history. + CustomDimension custom_dimension = 13; + + // A snapshot of a CustomMetric resource in change history. + CustomMetric custom_metric = 14; + } + } + + // Resource name of the resource whose changes are described by this entry. + string resource = 1; + + // The type of action that changed this resource. + ActionType action = 2; + + // Resource contents from before the change was made. If this resource was + // created in this change, this field will be missing. + ChangeHistoryResource resource_before_change = 3; + + // Resource contents from after the change was made. If this resource was + // deleted in this change, this field will be missing. + ChangeHistoryResource resource_after_change = 4; +} + +// A conversion event in a Google Analytics property. +message ConversionEvent { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/ConversionEvent" + pattern: "properties/{property}/conversionEvents/{conversion_event}" + }; + + // Output only. Resource name of this conversion event. + // Format: properties/{property}/conversionEvents/{conversion_event} + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The event name for this conversion event. + // Examples: 'click', 'purchase' + 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]; + + // Output only. If set, this event can currently be deleted via DeleteConversionEvent. + bool is_deletable = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Settings values for Google Signals. This is a singleton resource. +message GoogleSignalsSettings { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/GoogleSignalsSettings" + pattern: "properties/{property}/googleSignalsSettings" + }; + + // Output only. Resource name of this setting. + // Format: properties/{property_id}/googleSignalsSettings + // Example: "properties/1000/googleSignalsSettings" + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Status of this setting. + GoogleSignalsState state = 3; + + // Output only. Terms of Service acceptance. + GoogleSignalsConsent consent = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A definition for a CustomDimension. +message CustomDimension { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/CustomDimension" + pattern: "properties/{property}/customDimensions" + }; + + // Valid values for the scope of this dimension. + enum DimensionScope { + // Scope unknown or not specified. + DIMENSION_SCOPE_UNSPECIFIED = 0; + + // Dimension scoped to an event. + EVENT = 1; + + // Dimension scoped to a user. + USER = 2; + } + + // Output only. Resource name for this CustomDimension resource. + // Format: properties/{property}/customDimensions/{customDimension} + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Immutable. Tagging parameter name for this custom dimension. + // + // If this is a user-scoped dimension, then this is the user property name. + // If this is an event-scoped dimension, then this is the event parameter + // name. + // + // 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. + string parameter_name = 2 [ + (google.api.field_behavior) = REQUIRED, + (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 + // 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. + string description = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Immutable. The scope of this dimension. + DimensionScope scope = 5 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; + + // 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]; +} + +// A definition for a custom metric. +message CustomMetric { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/CustomMetric" + pattern: "properties/{property}/customMetrics" + }; + + // Possible types of representing the custom metric's value. + // + // Currency representation may change in the future, requiring a breaking API + // change. + enum MeasurementUnit { + // MeasurementUnit unspecified or missing. + MEASUREMENT_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 meters. + METERS = 4; + + // This metric measures kilometers. + KILOMETERS = 5; + + // This metric measures miles. + MILES = 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; + } + + // The scope of this metric. + enum MetricScope { + // Scope unknown or not specified. + METRIC_SCOPE_UNSPECIFIED = 0; + + // Metric scoped to an event. + EVENT = 1; + } + + // Output only. Resource name for this CustomMetric resource. + // Format: properties/{property}/customMetrics/{customMetric} + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Immutable. Tagging name for this custom metric. + // + // If this is an event-scoped metric, then this is the event parameter + // name. + // + // May only contain alphanumeric and underscore charactes, starting with a + // letter. Max length of 40 characters for event-scoped metrics. + string parameter_name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Required. Display name for this custom metric 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. + string description = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Immutable. The type for the custom metric's value. + MeasurementUnit measurement_unit = 5 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; + + // Required. Immutable. The scope of this custom metric. + MetricScope scope = 6 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; +} diff --git a/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel b/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel index bbbb9ba53..91edda2a1 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel @@ -169,13 +169,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -191,11 +192,8 @@ php_grpc_library( php_gapic_library( name = "data_php_gapic", - src = ":data_proto_with_info", - gapic_yaml = "analyticsdata_gapic.yaml", + srcs = [":data_proto_with_info"], grpc_service_config = "analytics_data_grpc_service_config.json", - package = "google.analytics.data.v1alpha", - service_yaml = "analyticsdata_v1alpha.yaml", deps = [ ":data_php_grpc", ":data_php_proto", @@ -246,7 +244,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -262,13 +260,19 @@ ruby_grpc_library( deps = [":data_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "data_ruby_gapic", - src = ":data_proto_with_info", - gapic_yaml = "analyticsdata_gapic.yaml", + srcs = [":data_proto_with_info",], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-analytics-data-v1alpha", + "ruby-cloud-env-prefix=ANALYTICS", + "ruby-cloud-api-id=analyticsdata.googleapis.com", + "ruby-cloud-api-shortname=analyticsdata", + "ruby-cloud-service-override=AlphaAnalyticsData=AnalyticsData", + ], grpc_service_config = "analytics_data_grpc_service_config.json", - package = "google.analytics.data.v1alpha", - service_yaml = "analyticsdata_v1alpha.yaml", + ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics App+Web properties. With the Google Analytics Data API, you can build custom dashboards to display Google Analytics data, automate complex reporting tasks to save time, and integrate your Google Analytics data with other business applications.", + ruby_cloud_title = "Google Analytics Data V1alpha", deps = [ ":data_ruby_grpc", ":data_ruby_proto", diff --git a/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_gapic.yaml b/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_gapic.yaml index 78f5d04d8..0bcb880b6 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_gapic.yaml +++ b/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_gapic.yaml @@ -1,16 +1,2 @@ type: com.google.api.codegen.ConfigProto config_schema_version: 2.0.0 -language_settings: - python: - package_name: google.analytics.data.v1alpha.gapic - go: - package_name: google.golang.org/api/analyticsdata/v1alpha - csharp: - package_name: Google.Analytics.Data.V1alpha - ruby: - package_name: Google::Analytics::Data::V1alpha - php: - package_name: Google\Analytics\Data\V1alpha - nodejs: - package_name: google.analytics.data.v1alpha - domain_layer_location: analyticsdata.google.com diff --git a/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel b/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel index 76b951230..9a553ecb0 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel @@ -170,13 +170,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -192,11 +193,8 @@ php_grpc_library( php_gapic_library( name = "data_php_gapic", - src = ":data_proto_with_info", - gapic_yaml = "analyticsdata_gapic.yaml", + srcs = [":data_proto_with_info"], grpc_service_config = "analytics_data_grpc_service_config.json", - package = "google.analytics.data.v1beta", - service_yaml = "analyticsdata_v1beta.yaml", deps = [ ":data_php_grpc", ":data_php_proto", @@ -273,9 +271,9 @@ ruby_cloud_gapic_library( "ruby-cloud-api-id=analyticsdata.googleapis.com", "ruby-cloud-api-shortname=analyticsdata", ], + grpc_service_config = "analytics_data_grpc_service_config.json", ruby_cloud_description = "The Google Analytics Data API V1 provides programmatic methods to access report data in Google Analytics 4 (GA4) properties.", ruby_cloud_title = "Google Analytics Data V1", - grpc_service_config = "analytics_data_grpc_service_config.json", deps = [ ":data_ruby_grpc", ":data_ruby_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 9eaca5603..38f2977a8 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 @@ -244,6 +244,11 @@ message RunReportResponse { // This Analytics Property's quota state including this request. PropertyQuota property_quota = 9; + + // Identifies what kind of resource this message is. This `kind` is always the + // fixed string "analyticsData#runReport". Useful to distinguish between + // response types in JSON. + string kind = 10; } // The request to generate a pivot report. @@ -369,6 +374,11 @@ message RunPivotReportResponse { // This Analytics Property's quota state including this request. PropertyQuota property_quota = 7; + + // Identifies what kind of resource this message is. This `kind` is always the + // fixed string "analyticsData#runPivotReport". Useful to distinguish between + // response types in JSON. + string kind = 8; } // The batch request containing multiple report requests. @@ -393,6 +403,11 @@ message BatchRunReportsRequest { message BatchRunReportsResponse { // Individual responses. Each response has a separate report request. repeated RunReportResponse reports = 1; + + // Identifies what kind of resource this message is. This `kind` is always the + // fixed string "analyticsData#batchRunReports". Useful to distinguish between + // response types in JSON. + string kind = 2; } // The batch request containing multiple pivot report requests. @@ -417,6 +432,11 @@ message BatchRunPivotReportsRequest { message BatchRunPivotReportsResponse { // Individual responses. Each response has a separate pivot report request. repeated RunPivotReportResponse pivot_reports = 1; + + // Identifies what kind of resource this message is. This `kind` is always the + // fixed string "analyticsData#batchRunPivotReports". Useful to distinguish + // between response types in JSON. + string kind = 2; } // Request for a property's dimension and metric metadata. @@ -519,4 +539,9 @@ message RunRealtimeReportResponse { // This Analytics Property's Realtime quota state including this request. PropertyQuota property_quota = 8; + + // Identifies what kind of resource this message is. This `kind` is always the + // fixed string "analyticsData#runRealtimeReport". Useful to distinguish + // between response types in JSON. + string kind = 9; } diff --git a/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_gapic.yaml b/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_gapic.yaml deleted file mode 100644 index 7324d94cc..000000000 --- a/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_gapic.yaml +++ /dev/null @@ -1,16 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - python: - package_name: google.analytics.data.v1beta.gapic - go: - package_name: google.golang.org/api/analyticsdata/v1beta - csharp: - package_name: Google.Analytics.Data.V1beta - ruby: - package_name: Google::Analytics::Data::V1beta - php: - package_name: Google\Analytics\Data\V1beta - nodejs: - package_name: google.analytics.data.v1beta - domain_layer_location: analyticsdata.google.com diff --git a/third_party/googleapis/google/analytics/data/v1beta/data.proto b/third_party/googleapis/google/analytics/data/v1beta/data.proto index ad0f21c27..3057ae22c 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/data.proto +++ b/third_party/googleapis/google/analytics/data/v1beta/data.proto @@ -381,8 +381,8 @@ message Pivot { int64 offset = 3; // The number of unique combinations of dimension values to return in this - // pivot. If unspecified, up to 10,000 unique combinations of dimension values - // are returned. `limit` must be positive. + // pivot. The `limit` parameter is required. A `limit` of 10,000 is common for + // 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: @@ -667,6 +667,12 @@ message PropertyQuota { // server errors per hour; Analytics 360 Properties and cloud project pairs // can have up to 50 server errors per hour. QuotaStatus server_errors_per_project_per_hour = 4; + + // Analytics Properties can send up to 120 requests with potentially + // thresholded dimensions per hour. In a batch request, each report request + // is individually counted for this quota if the request contains potentially + // thresholded dimensions. + QuotaStatus potentially_thresholded_requests_per_hour = 5; } // Current state for a particular quota group. diff --git a/third_party/googleapis/google/api/BUILD.bazel b/third_party/googleapis/google/api/BUILD.bazel index ec6301030..1db2ad0c2 100644 --- a/third_party/googleapis/google/api/BUILD.bazel +++ b/third_party/googleapis/google/api/BUILD.bazel @@ -222,7 +222,17 @@ proto_library( proto_library( name = "usage_proto", srcs = ["usage.proto"], - deps = [":annotations_proto"], + deps = [ + ":annotations_proto", + ":visibility_proto", + ], +) + +proto_library( + name = "visibility_proto", + srcs = ["visibility.proto"], + deps = ["@com_google_protobuf//:descriptor_proto"], + visibility = ["//visibility:public"], ) ############################################################################## @@ -261,6 +271,7 @@ java_proto_library( "source_info_proto", "system_parameter_proto", "usage_proto", + "visibility_proto", ], ) @@ -380,6 +391,12 @@ go_proto_library( ], ) +go_proto_library( + name = "visibility_go_proto", + importpath = "google.golang.org/genproto/googleapis/api/visibility;visibility", + protos = [":visibility_proto"], +) + ############################################################################## # C++ ############################################################################## @@ -525,6 +542,11 @@ cc_proto_library( deps = [":usage_proto"], ) +cc_proto_library( + name = "visibility_cc_proto", + deps = [":visibility_proto"], +) + ############################################################################## # Python ############################################################################## @@ -669,3 +691,8 @@ py_proto_library( name = "usage_py_proto", deps = [":usage_proto"], ) + +py_proto_library( + name = "visibility_py_proto", + deps = ["visibility_proto"], +) diff --git a/third_party/googleapis/google/api/annotations.proto b/third_party/googleapis/google/api/annotations.proto index 85c361b47..efdab3db6 100644 --- a/third_party/googleapis/google/api/annotations.proto +++ b/third_party/googleapis/google/api/annotations.proto @@ -1,4 +1,4 @@ -// Copyright (c) 2015, Google Inc. +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/auth.proto b/third_party/googleapis/google/api/auth.proto index 7d12dd494..54026e1a5 100644 --- a/third_party/googleapis/google/api/auth.proto +++ b/third_party/googleapis/google/api/auth.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 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,9 +22,10 @@ option java_outer_classname = "AuthProto"; option java_package = "com.google.api"; option objc_class_prefix = "GAPI"; -// `Authentication` defines the authentication configuration for an API. +// `Authentication` defines the authentication configuration for API methods +// provided by an API service. // -// Example for an API targeted for external use: +// Example: // // name: calendar.googleapis.com // authentication: @@ -36,6 +37,9 @@ option objc_class_prefix = "GAPI"; // - selector: "*" // requirements: // provider_id: google_calendar_auth +// - selector: google.calendar.Delegate +// oauth: +// canonical_scopes: https://www.googleapis.com/auth/calendar.read message Authentication { // A list of authentication rules that apply to individual API methods. // diff --git a/third_party/googleapis/google/api/backend.proto b/third_party/googleapis/google/api/backend.proto index 729bccdbc..da3878698 100644 --- a/third_party/googleapis/google/api/backend.proto +++ b/third_party/googleapis/google/api/backend.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/billing.proto b/third_party/googleapis/google/api/billing.proto index 8e70388cf..cf481794d 100644 --- a/third_party/googleapis/google/api/billing.proto +++ b/third_party/googleapis/google/api/billing.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/client.proto b/third_party/googleapis/google/api/client.proto index 2102623d3..3b3fd0c40 100644 --- a/third_party/googleapis/google/api/client.proto +++ b/third_party/googleapis/google/api/client.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2018 Google LLC // // Licensed under the Apache License, 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/config_change.proto b/third_party/googleapis/google/api/config_change.proto index 953bb131c..f1fcde4f7 100644 --- a/third_party/googleapis/google/api/config_change.proto +++ b/third_party/googleapis/google/api/config_change.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/consumer.proto b/third_party/googleapis/google/api/consumer.proto index 0facc2eb1..b7e5df1c8 100644 --- a/third_party/googleapis/google/api/consumer.proto +++ b/third_party/googleapis/google/api/consumer.proto @@ -1,4 +1,4 @@ -// Copyright 2016 Google Inc. +// Copyright 2016 Google LLC // // Licensed under the Apache License, 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 b3d5e86bd..8e776ecfc 100644 --- a/third_party/googleapis/google/api/context.proto +++ b/third_party/googleapis/google/api/context.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/control.proto b/third_party/googleapis/google/api/control.proto index 9fdc8815f..6eb1958e3 100644 --- a/third_party/googleapis/google/api/control.proto +++ b/third_party/googleapis/google/api/control.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/distribution.proto b/third_party/googleapis/google/api/distribution.proto index b6f55cedf..b079a4389 100644 --- a/third_party/googleapis/google/api/distribution.proto +++ b/third_party/googleapis/google/api/distribution.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/documentation.proto b/third_party/googleapis/google/api/documentation.proto index 2334b5251..7288169be 100644 --- a/third_party/googleapis/google/api/documentation.proto +++ b/third_party/googleapis/google/api/documentation.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 5cea0a86c..a434e8e74 100644 --- a/third_party/googleapis/google/api/endpoint.proto +++ b/third_party/googleapis/google/api/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 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,8 @@ message Endpoint { // The canonical name of this endpoint. string name = 1; + // Unimplemented. Dot not use. + // // DEPRECATED: This field is no longer supported. Instead of using aliases, // please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended // aliases. diff --git a/third_party/googleapis/google/api/error_reason.proto b/third_party/googleapis/google/api/error_reason.proto index c3b0cb5a8..393c808be 100644 --- a/third_party/googleapis/google/api/error_reason.proto +++ b/third_party/googleapis/google/api/error_reason.proto @@ -41,8 +41,8 @@ enum ErrorReason { // Example of an ErrorInfo when the consumer "projects/123" contacting // "pubsub.googleapis.com" service which is disabled: // - // { "reason": "SERVICE_DISABLED" - // "domain": "googleapis.com" + // { "reason": "SERVICE_DISABLED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" @@ -56,10 +56,11 @@ enum ErrorReason { // The request whose associated billing account is disabled. // // Example of an ErrorInfo when the consumer "projects/123" fails to contact - // "pubsub.googleapis.com" service because of the billing account is disabled: + // "pubsub.googleapis.com" service because the associated billing account is + // disabled: // - // { "reason": "BILLING_DISABLED" - // "domain": "googleapis.com" + // { "reason": "BILLING_DISABLED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" @@ -76,8 +77,8 @@ enum ErrorReason { // Example of an ErrorInfo when the request is contacting // "storage.googleapis.com" service with an invalid API key: // - // { "reason": "API_KEY_INVALID" - // "domain": "googleapis.com" + // { "reason": "API_KEY_INVALID", + // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // } @@ -87,11 +88,12 @@ enum ErrorReason { // The request is denied because it violates [API key API // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions). // - // Example of an ErrorInfo when the request is contacting the service - // "storage.googleapis.com" that is restricted in the API key: + // Example of an ErrorInfo when the consumer "projects/123" fails to call the + // "storage.googleapis.com" service because this service is restricted in the + // API key: // - // { "reason": "API_KEY_SERVICE_BLOCKED" - // "domain": "googleapis.com" + // { "reason": "API_KEY_SERVICE_BLOCKED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -102,11 +104,12 @@ enum ErrorReason { // The request is denied because it violates [API key HTTP // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions). // - // Example of an ErrorInfo when the http referrer of the request violates API - // key HTTP restrictions: + // Example of an ErrorInfo when the consumer "projects/123" fails to call + // "storage.googleapis.com" service because the http referrer of the request + // violates API key HTTP restrictions: // - // { "reason": "API_KEY_HTTP_REFERRER_BLOCKED" - // "domain": "googleapis.com" + // { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", @@ -117,11 +120,12 @@ enum ErrorReason { // The request is denied because it violates [API key IP address // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // - // Example of an ErrorInfo when the caller IP of the request violates API - // key IP address restrictions: + // Example of an ErrorInfo when the consumer "projects/123" fails to call + // "storage.googleapis.com" service because the caller IP of the request + // violates API key IP address restrictions: // - // { "reason": "API_KEY_IP_ADDRESS_BLOCKED" - // "domain": "googleapis.com" + // { "reason": "API_KEY_IP_ADDRESS_BLOCKED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", @@ -132,11 +136,12 @@ enum ErrorReason { // The request is denied because it violates [API key Android application // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // - // Example of an ErrorInfo when the request from the Android apps violates the - // API key Android application restrictions: + // Example of an ErrorInfo when the consumer "projects/123" fails to call + // "storage.googleapis.com" service because the request from the Android apps + // violates the API key Android application restrictions: // - // { "reason": "API_KEY_ANDROID_APP_BLOCKED" - // "domain": "googleapis.com" + // { "reason": "API_KEY_ANDROID_APP_BLOCKED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -147,11 +152,12 @@ enum ErrorReason { // The request is denied because it violates [API key iOS application // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // - // Example of an ErrorInfo when the request from the iOS apps violates the API - // key iOS application restrictions: + // Example of an ErrorInfo when the consumer "projects/123" fails to call + // "storage.googleapis.com" service because the request from the iOS apps + // violates the API key iOS application restrictions: // - // { "reason": "API_KEY_IOS_APP_BLOCKED" - // "domain": "googleapis.com" + // { "reason": "API_KEY_IOS_APP_BLOCKED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -168,8 +174,8 @@ enum ErrorReason { // "ReadsPerMinutePerProject" on the quota metric // "pubsub.googleapis.com/read_requests": // - // { "reason": "RATE_LIMIT_EXCEEDED" - // "domain": "googleapis.com" + // { "reason": "RATE_LIMIT_EXCEEDED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com", @@ -183,8 +189,8 @@ enum ErrorReason { // limit "DefaultRequestsPerMinutePerOrganization" on the metric // "dataflow.googleapis.com/default_requests". // - // { "reason": "RATE_LIMIT_EXCEEDED" - // "domain": "googleapis.com" + // { "reason": "RATE_LIMIT_EXCEEDED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "dataflow.googleapis.com", @@ -202,8 +208,8 @@ enum ErrorReason { // has reached the maximum value set for the quota limit "VMsPerProject" // on the quota metric "compute.googleapis.com/vms": // - // { "reason": "RESOURCE_QUOTA_EXCEEDED" - // "domain": "googleapis.com" + // { "reason": "RESOURCE_QUOTA_EXCEEDED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "compute.googleapis.com", @@ -217,8 +223,8 @@ enum ErrorReason { // quota limit "jobs-per-organization" on the metric // "dataflow.googleapis.com/job_count". // - // { "reason": "RESOURCE_QUOTA_EXCEEDED" - // "domain": "googleapis.com" + // { "reason": "RESOURCE_QUOTA_EXCEEDED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "dataflow.googleapis.com", @@ -236,8 +242,8 @@ enum ErrorReason { // container "projects/123" under a tax restricted region // "locations/asia-northeast3": // - // { "reason": "LOCATION_TAX_POLICY_VIOLATED" - // "domain": "googleapis.com" + // { "reason": "LOCATION_TAX_POLICY_VIOLATED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", @@ -250,15 +256,15 @@ enum ErrorReason { LOCATION_TAX_POLICY_VIOLATED = 10; // The request is denied because the caller does not have required permission - // on the user project or the user project is invalid. For more information, - // see [System + // on the user project "projects/123" or the user project is invalid. For more + // information, check the [userProject System // Parameters](https://cloud.google.com/apis/docs/system-parameters). // // Example of an ErrorInfo when the caller is calling Cloud Storage service // with insufficient permissions on the user project: // - // { "reason": "USER_PROJECT_DENIED" - // "domain": "googleapis.com" + // { "reason": "USER_PROJECT_DENIED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -266,16 +272,16 @@ enum ErrorReason { // } USER_PROJECT_DENIED = 11; - // The request is denied because the consumer is suspended due to Terms of - // Service(Tos) violations. Check [Project suspension + // The request is denied because the consumer "projects/123" is suspended due + // to Terms of Service(Tos) violations. Check [Project suspension // guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines) // for more information. // // Example of an ErrorInfo when calling Cloud Storage service with the // suspended consumer "projects/123": // - // { "reason": "CONSUMER_SUSPENDED" - // "domain": "googleapis.com" + // { "reason": "CONSUMER_SUSPENDED", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -289,8 +295,8 @@ enum ErrorReason { // Example of an ErrorInfo when calling Cloud Storage service with the // invalid consumer "projects/123": // - // { "reason": "CONSUMER_INVALID" - // "domain": "googleapis.com" + // { "reason": "CONSUMER_INVALID", + // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" @@ -305,11 +311,12 @@ enum ErrorReason { // more information, please refer [VPC Service Controls // Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id) // - // Example of an ErrorInfo for a request calling Cloud Storage service is - // rejected by VPC Service Controls. + // Example of an ErrorInfo when the consumer "projects/123" fails to call + // Cloud Storage service because the request is prohibited by the VPC Service + // Controls. // - // { "reason": "SECURITY_POLICY_VIOLATED" - // "domain": "googleapis.com" + // { "reason": "SECURITY_POLICY_VIOLATED", + // "domain": "googleapis.com", // "metadata": { // "uid": "123456789abcde", // "consumer": "projects/123", @@ -320,12 +327,71 @@ enum ErrorReason { // The request is denied because the provided access token has expired. // - // Example of an ErrorInfo when the request is calling Google APIs with an - // expired access token: + // Example of an ErrorInfo when the request is calling Cloud Storage service + // with an expired access token: // - // { "reason": "ACCESS_TOKEN_EXPIRED" - // "domain": "googleapis.com" - // "metadata": {} + // { "reason": "ACCESS_TOKEN_EXPIRED", + // "domain": "googleapis.com", + // "metadata": { + // "service": "storage.googleapis.com", + // "method": "google.storage.v1.Storage.GetObject" + // } // } ACCESS_TOKEN_EXPIRED = 16; + + // The request is denied because the provided access token doesn't have at + // least one of the acceptable scopes required for the API. Please check + // [OAuth 2.0 Scopes for Google + // APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for + // the list of the OAuth 2.0 scopes that you might need to request to access + // the API. + // + // Example of an ErrorInfo when the request is calling Cloud Storage service + // with an access token that is missing required scopes: + // + // { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", + // "domain": "googleapis.com", + // "metadata": { + // "service": "storage.googleapis.com", + // "method": "google.storage.v1.Storage.GetObject" + // } + // } + ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17; + + // The request is denied because the account associated with the provided + // access token is in an invalid state, such as disabled or deleted. + // For more information, see https://cloud.google.com/docs/authentication. + // + // Warning: For privacy reasons, the server may not be able to disclose the + // email address for some accounts. The client MUST NOT depend on the + // availability of the `email` attribute. + // + // Example of an ErrorInfo when the request is to the Cloud Storage API with + // an access token that is associated with a disabled or deleted [service + // account](http://cloud/iam/docs/service-accounts): + // + // { "reason": "ACCOUNT_STATE_INVALID", + // "domain": "googleapis.com", + // "metadata": { + // "service": "storage.googleapis.com", + // "method": "google.storage.v1.Storage.GetObject", + // "email": "user@123.iam.gserviceaccount.com" + // } + // } + ACCOUNT_STATE_INVALID = 18; + + // The request is denied because the type of the provided access token is not + // supported by the API being called. + // + // Example of an ErrorInfo when the request is to the Cloud Storage API with + // an unsupported token type. + // + // { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", + // "domain": "googleapis.com", + // "metadata": { + // "service": "storage.googleapis.com", + // "method": "google.storage.v1.Storage.GetObject" + // } + // } + ACCESS_TOKEN_TYPE_UNSUPPORTED = 19; } diff --git a/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel b/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel index c2e842bc3..c020dd0d3 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel @@ -193,11 +193,12 @@ py_grpc_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/api/field_behavior.proto b/third_party/googleapis/google/api/field_behavior.proto index 614b31a00..ee836185c 100644 --- a/third_party/googleapis/google/api/field_behavior.proto +++ b/third_party/googleapis/google/api/field_behavior.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2018 Google LLC // // Licensed under the Apache License, 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/http.proto b/third_party/googleapis/google/api/http.proto index 69460cf79..113fa936a 100644 --- a/third_party/googleapis/google/api/http.proto +++ b/third_party/googleapis/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/httpbody.proto b/third_party/googleapis/google/api/httpbody.proto index 1a5bb78be..596ba3578 100644 --- a/third_party/googleapis/google/api/httpbody.proto +++ b/third_party/googleapis/google/api/httpbody.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 62f6cfa21..af294c91c 100644 --- a/third_party/googleapis/google/api/label.proto +++ b/third_party/googleapis/google/api/label.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 b2fce4d08..cca8419a9 100644 --- a/third_party/googleapis/google/api/launch_stage.proto +++ b/third_party/googleapis/google/api/launch_stage.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 12e8c1cbf..22ee28937 100644 --- a/third_party/googleapis/google/api/log.proto +++ b/third_party/googleapis/google/api/log.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 9009d5901..e60f77ca5 100644 --- a/third_party/googleapis/google/api/logging.proto +++ b/third_party/googleapis/google/api/logging.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 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,14 +32,14 @@ option objc_class_prefix = "GAPI"; // monitored_resources: // - type: library.googleapis.com/branch // labels: -// - key: city +// - key: /city // description: The city where the library branch is located in. -// - key: name +// - key: /name // description: The name of the branch. // logs: // - name: activity_history // labels: -// - key: customer_id +// - key: /customer_id // - name: purchase_history // logging: // producer_destinations: diff --git a/third_party/googleapis/google/api/metric.proto b/third_party/googleapis/google/api/metric.proto index 111a602bb..aadc19677 100644 --- a/third_party/googleapis/google/api/metric.proto +++ b/third_party/googleapis/google/api/metric.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/monitored_resource.proto b/third_party/googleapis/google/api/monitored_resource.proto index 05ed6e8af..bd5be4e4e 100644 --- a/third_party/googleapis/google/api/monitored_resource.proto +++ b/third_party/googleapis/google/api/monitored_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/monitoring.proto b/third_party/googleapis/google/api/monitoring.proto index 0acbfc9b8..60770ec5a 100644 --- a/third_party/googleapis/google/api/monitoring.proto +++ b/third_party/googleapis/google/api/monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/quota.proto b/third_party/googleapis/google/api/quota.proto index c9c789901..dae89de30 100644 --- a/third_party/googleapis/google/api/quota.proto +++ b/third_party/googleapis/google/api/quota.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/resource.proto b/third_party/googleapis/google/api/resource.proto index fd9ee66de..2dfff1590 100644 --- a/third_party/googleapis/google/api/resource.proto +++ b/third_party/googleapis/google/api/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2018 Google LLC // // Licensed under the Apache License, 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 0b19a688c..bb988a981 100644 --- a/third_party/googleapis/google/api/service.proto +++ b/third_party/googleapis/google/api/service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 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,6 @@ option objc_class_prefix = "GAPI"; // Example: // // type: google.api.Service -// config_version: 3 // name: calendar.googleapis.com // title: Google Calendar API // apis: @@ -168,6 +167,9 @@ message Service { // Output only. The source information for this configuration if available. SourceInfo source_info = 37; - // Deprecated. The service config compiler always sets this field to `3`. - google.protobuf.UInt32Value config_version = 20; + // Obsolete. Do not use. + // + // This field has no semantic meaning. The service config compiler always + // sets this field to `3`. + google.protobuf.UInt32Value config_version = 20 [deprecated = true]; } diff --git a/third_party/googleapis/google/api/serviceconfig.yaml b/third_party/googleapis/google/api/serviceconfig.yaml index b7b8c2c19..054295e4f 100644 --- a/third_party/googleapis/google/api/serviceconfig.yaml +++ b/third_party/googleapis/google/api/serviceconfig.yaml @@ -16,6 +16,7 @@ types: - name: google.api.ResourceDescriptor - name: google.api.ResourceReference - name: google.api.Service +- name: google.api.Visibility enums: - name: google.api.ErrorReason diff --git a/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel b/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel index 74a495a1a..770b9a3a6 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel +++ b/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel @@ -1,6 +1,5 @@ # 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 @@ -8,7 +7,6 @@ # * 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"]) @@ -61,18 +59,15 @@ proto_library_with_info( # "java_grpc_library", # "java_proto_library", # ) - # java_proto_library( # name = "servicecontrol_java_proto", # deps = [":servicecontrol_proto"], # ) - # java_grpc_library( # name = "servicecontrol_java_grpc", # srcs = [":servicecontrol_proto"], # deps = [":servicecontrol_java_proto"], # ) - # java_gapic_library( # name = "servicecontrol_java_gapic", # srcs = [":servicecontrol_proto_with_info"], @@ -85,15 +80,12 @@ proto_library_with_info( # ":servicecontrol_java_proto", # ], # ) - # java_gapic_test( # name = "servicecontrol_java_gapic_test_suite", # test_classes = [ - # ], # runtime_deps = [":servicecontrol_java_gapic_test"], # ) - # # Open Source Packages # java_gapic_assembly_gradle_pkg( # name = "google-cloud-api-servicecontrol-v1-java", @@ -104,7 +96,6 @@ proto_library_with_info( # ":servicecontrol_proto", # ], # ) - ############################################################################## # Go ############################################################################## @@ -115,7 +106,6 @@ proto_library_with_info( # "go_proto_library", # "go_test", # ) - # go_proto_library( # name = "servicecontrol_go_proto", # compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -127,7 +117,6 @@ proto_library_with_info( # "//google/rpc:status_go_proto", # ], # ) - # go_gapic_library( # name = "servicecontrol_go_gapic", # srcs = [":servicecontrol_proto_with_info"], @@ -139,14 +128,12 @@ proto_library_with_info( # "@io_bazel_rules_go//proto/wkt:duration_go_proto", # ], # ) - # 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", @@ -156,7 +143,6 @@ proto_library_with_info( # ":servicecontrol_go_proto", # ], # ) - ############################################################################## # Python ############################################################################## @@ -170,11 +156,16 @@ py_gapic_library( name = "servicecontrol_py_gapic", srcs = [":servicecontrol_proto"], grpc_service_config = None, + opt_args = [ + "warehouse-package-name=google-cloud-service-control", + "python-gapic-namespace=google.cloud", + "python-gapic-name=servicecontrol", + ] ) # Open Source Packages py_gapic_assembly_pkg( - name = "api-servicecontrol-v1-py", + name = "google-cloud-servicecontrol-v1-py", deps = [ ":servicecontrol_py_gapic", ], @@ -182,13 +173,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -204,11 +196,8 @@ php_grpc_library( php_gapic_library( name = "servicecontrol_php_gapic", - src = ":servicecontrol_proto_with_info", - gapic_yaml = "servicecontrol_gapic.yaml", + srcs = [":servicecontrol_proto_with_info"], grpc_service_config = None, - package = "google.api.servicecontrol.v1", - service_yaml = "servicecontrol.yaml", deps = [ ":servicecontrol_php_grpc", ":servicecontrol_php_proto", @@ -258,8 +247,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) @@ -345,7 +334,6 @@ csharp_gapic_assembly_pkg( ":servicecontrol_csharp_proto", ], ) - ############################################################################## # C++ ############################################################################## 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 8882c529b..0ca178600 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto @@ -29,7 +29,7 @@ option java_package = "com.google.api.servicecontrol.v1"; option php_namespace = "Google\\Cloud\\ServiceControl\\V1"; option ruby_package = "Google::Cloud::ServiceControl::V1"; -// [Google Quota Control API](/service-control/overview) +// [Google Quota Control API](https://cloud.google.com/service-control/overview) // // Allows clients to allocate and release quota against a [managed // service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService). 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 4dbe7c724..6916853f2 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto @@ -33,7 +33,7 @@ option objc_class_prefix = "GASC"; option php_namespace = "Google\\Cloud\\ServiceControl\\V1"; option ruby_package = "Google::Cloud::ServiceControl::V1"; -// [Google Service Control API](/service-control/overview) +// [Google Service Control API](https://cloud.google.com/service-control/overview) // // Lets clients check and report operations against a [managed // service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService). diff --git a/third_party/googleapis/google/api/servicecontrol/v1/servicecontrol_gapic.yaml b/third_party/googleapis/google/api/servicecontrol/v1/servicecontrol_gapic.yaml deleted file mode 100644 index 8b0246fd2..000000000 --- a/third_party/googleapis/google/api/servicecontrol/v1/servicecontrol_gapic.yaml +++ /dev/null @@ -1,3 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: diff --git a/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel b/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel index 305573cab..bf764ccfd 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel +++ b/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel @@ -167,11 +167,16 @@ py_gapic_library( name = "servicemanagement_py_gapic", srcs = [":servicemanagement_proto"], grpc_service_config = "servicemanagement_grpc_service_config.json", + opt_args = [ + "warehouse-package-name=google-cloud-service-management", + "python-gapic-namespace=google.cloud", + "python-gapic-name=servicemanagement", + ] ) # Open Source Packages py_gapic_assembly_pkg( - name = "api-servicemanagement-v1-py", + name = "google-cloud-servicemanagement-v1-py", deps = [ ":servicemanagement_py_gapic", ], @@ -179,13 +184,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -201,10 +207,8 @@ php_grpc_library( php_gapic_library( name = "servicemanagement_php_gapic", - src = ":servicemanagement_proto_with_info", - gapic_yaml = "servicemanagement_gapic.yaml", + srcs = [":servicemanagement_proto_with_info"], grpc_service_config = "servicemanagement_grpc_service_config.json", - package = "google.api.servicemanagement.v1", service_yaml = "servicemanagement_v1.yaml", deps = [ ":servicemanagement_php_grpc", @@ -233,6 +237,7 @@ load( nodejs_gapic_library( name = "servicemanagement_nodejs_gapic", + package_name = "@google-cloud/service-management", src = ":servicemanagement_proto_with_info", extra_protoc_parameters = ["metadata"], grpc_service_config = "servicemanagement_grpc_service_config.json", @@ -254,8 +259,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) diff --git a/third_party/googleapis/google/api/servicemanagement/v1/resources.proto b/third_party/googleapis/google/api/servicemanagement/v1/resources.proto index 37ac30099..0d9ed6b54 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/resources.proto +++ b/third_party/googleapis/google/api/servicemanagement/v1/resources.proto @@ -41,7 +41,7 @@ option ruby_package = "Google::Cloud::ServiceManagement::V1"; // The full representation of a Service that is managed by // Google Service Management. message ManagedService { - // The name of the service. See the [overview](/service-management/overview) + // The name of the service. See the [overview](https://cloud.google.com/service-management/overview) // for naming requirements. string service_name = 2; diff --git a/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_gapic.yaml b/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_gapic.yaml index e6985653f..b101e2b59 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_gapic.yaml +++ b/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_gapic.yaml @@ -4,15 +4,3 @@ config_schema_version: 2.0.0 language_settings: java: package_name: com.google.cloud.api.servicemanagement.v1 - python: - package_name: google.cloud.api.servicemanagement_v1.gapic - go: - package_name: cloud.google.com/go/api/servicemanagement/apiv1 - csharp: - package_name: Google.Api.Servicemanagement.V1 - ruby: - package_name: Google::Cloud::Api::Servicemanagement::V1 - php: - package_name: Google\Cloud\Api\Servicemanagement\V1 - nodejs: - package_name: servicemanagement.v1 diff --git a/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto b/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto index f94739fbe..c12f7748b 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto +++ b/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto @@ -35,7 +35,7 @@ option objc_class_prefix = "GASM"; option php_namespace = "Google\\Cloud\\ServiceManagement\\V1"; option ruby_package = "Google::Cloud::ServiceManagement::V1"; -// [Google Service Management API](/service-management/overview) +// [Google Service Management API](https://cloud.google.com/service-management/overview) service ServiceManager { option (google.api.default_host) = "servicemanagement.googleapis.com"; option (google.api.oauth_scopes) = @@ -325,14 +325,14 @@ message CreateServiceRequest { // Request message for DeleteService method. message DeleteServiceRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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](/service-management/overview) + // Required. The name of the service. See the [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]; } @@ -356,7 +356,7 @@ message GetServiceConfigRequest { FULL = 1; } - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -373,7 +373,7 @@ message GetServiceConfigRequest { // Request message for ListServiceConfigs method. message ListServiceConfigsRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -396,7 +396,7 @@ message ListServiceConfigsResponse { // Request message for CreateServiceConfig method. message CreateServiceConfigRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -406,7 +406,7 @@ message CreateServiceConfigRequest { // Request message for SubmitConfigSource method. message SubmitConfigSourceRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -427,7 +427,7 @@ message SubmitConfigSourceResponse { // Request message for 'CreateServiceRollout' message CreateServiceRolloutRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -437,7 +437,7 @@ message CreateServiceRolloutRequest { // Request message for 'ListServiceRollouts' message ListServiceRolloutsRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; @@ -451,10 +451,10 @@ 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', + // 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' + // status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' // or 'FAILED', use filter='status=CANCELLED OR status=FAILED' string filter = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -470,7 +470,7 @@ message ListServiceRolloutsResponse { // Request message for GetServiceRollout method. message GetServiceRolloutRequest { - // Required. The name of the service. See the [overview](/service-management/overview) + // Required. The name of the service. See the [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]; diff --git a/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel b/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel new file mode 100644 index 000000000..c8e9b780a --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel @@ -0,0 +1,351 @@ +# 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", "proto_library_with_info") + +proto_library( + name = "serviceusage_proto", + srcs = [ + "resources.proto", + "serviceusage.proto", + ], + deps = [ + "//google/api:annotations_proto", + "//google/api:auth_proto", + "//google/api:client_proto", + "//google/api:documentation_proto", + "//google/api:endpoint_proto", + "//google/api:monitored_resource_proto", + "//google/api:monitoring_proto", + "//google/api:quota_proto", + "//google/api:usage_proto", + "//google/longrunning:operations_proto", + "@com_google_protobuf//:api_proto", + ], +) + +proto_library_with_info( + name = "serviceusage_proto_with_info", + deps = [ + ":serviceusage_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 = "serviceusage_java_proto", + deps = [":serviceusage_proto"], +) + +java_grpc_library( + name = "serviceusage_java_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_java_proto"], +) + +java_gapic_library( + name = "serviceusage_java_gapic", + srcs = [":serviceusage_proto_with_info"], + grpc_service_config = "serviceusage_grpc_service_config.json", + test_deps = [ + ":serviceusage_java_grpc", + ], + deps = [ + ":serviceusage_java_proto", + ], +) + +java_gapic_test( + name = "serviceusage_java_gapic_test_suite", + test_classes = [ + "com.google.api.serviceusage.v1.ServiceUsageClientTest", + ], + runtime_deps = [":serviceusage_java_gapic_test"], +) + +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-api-serviceusage-v1-java", + deps = [ + ":serviceusage_java_gapic", + ":serviceusage_java_grpc", + ":serviceusage_java_proto", + ":serviceusage_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 = "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", +# ], +# ) + +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", +) + +py_gapic_library( + name = "serviceusage_py_gapic", + srcs = [":serviceusage_proto"], + grpc_service_config = "serviceusage_grpc_service_config.json", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "api-serviceusage-v1-py", + deps = [ + ":serviceusage_py_gapic", + ], +) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", +) + +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", + service_yaml = "serviceusage_v1.yaml", + deps = [ + ":serviceusage_php_grpc", + ":serviceusage_php_proto", + ], +) + +# Open Source Packages +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", + src = ":serviceusage_proto_with_info", + extra_protoc_parameters = ["metadata"], + grpc_service_config = "serviceusage_grpc_service_config.json", + package = "google.api.serviceusage.v1", + service_yaml = "serviceusage_v1.yaml", + deps = [], +) + +nodejs_gapic_assembly_pkg( + name = "api-serviceusage-v1-nodejs", + deps = [ + ":serviceusage_nodejs_gapic", + ":serviceusage_proto", + ], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_gapic_assembly_pkg", + "ruby_cloud_gapic_library", + "ruby_grpc_library", + "ruby_proto_library", +) + +ruby_proto_library( + name = "serviceusage_ruby_proto", + deps = [":serviceusage_proto"], +) + +ruby_grpc_library( + name = "serviceusage_ruby_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_ruby_proto"], +) + +ruby_cloud_gapic_library( + name = "serviceusage_ruby_gapic", + srcs = [":serviceusage_proto_with_info"], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-cloud-api-serviceusage-v1", + ], + grpc_service_config = "serviceusage_grpc_service_config.json", + deps = [ + ":serviceusage_ruby_grpc", + ":serviceusage_ruby_proto", + ], +) + +# Open Source Packages +ruby_gapic_assembly_pkg( + name = "google-cloud-api-serviceusage-v1-ruby", + deps = [ + ":serviceusage_ruby_gapic", + ":serviceusage_ruby_grpc", + ":serviceusage_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 = "serviceusage_csharp_proto", + deps = [":serviceusage_proto"], +) + +csharp_grpc_library( + name = "serviceusage_csharp_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_csharp_proto"], +) + +csharp_gapic_library( + name = "serviceusage_csharp_gapic", + srcs = [":serviceusage_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "serviceusage_grpc_service_config.json", + deps = [ + ":serviceusage_csharp_grpc", + ":serviceusage_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-api-serviceusage-v1-csharp", + deps = [ + ":serviceusage_csharp_gapic", + ":serviceusage_csharp_grpc", + ":serviceusage_csharp_proto", + ], +) + +############################################################################## +# C++ +############################################################################## +# Put your C++ rules here diff --git a/third_party/googleapis/google/api/serviceusage/v1/resources.proto b/third_party/googleapis/google/api/serviceusage/v1/resources.proto new file mode 100644 index 000000000..a2aaae961 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1/resources.proto @@ -0,0 +1,122 @@ +// 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.api.serviceusage.v1; + +import "google/api/auth.proto"; +import "google/api/documentation.proto"; +import "google/api/endpoint.proto"; +import "google/api/monitored_resource.proto"; +import "google/api/monitoring.proto"; +import "google/api/quota.proto"; +import "google/api/usage.proto"; +import "google/protobuf/api.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Cloud.ServiceUsage.V1"; +option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage"; +option java_multiple_files = true; +option java_outer_classname = "ResourcesProto"; +option java_package = "com.google.api.serviceusage.v1"; +option php_namespace = "Google\\Cloud\\ServiceUsage\\V1"; +option ruby_package = "Google::Cloud::ServiceUsage::V1"; + +// A service that is available for use by the consumer. +message Service { + // The resource name of the consumer and service. + // + // A valid name would be: + // - projects/123/services/serviceusage.googleapis.com + string name = 1; + + // The resource name of the consumer. + // + // A valid name would be: + // - projects/123 + string parent = 5; + + // The service configuration of the available service. + // Some fields may be filtered out of the configuration in responses to + // the `ListServices` method. These fields are present only in responses to + // the `GetService` method. + ServiceConfig config = 2; + + // Whether or not the service has been enabled for use by the consumer. + State state = 4; +} + +// Whether or not a service has been enabled for use by a consumer. +enum State { + // The default value, which indicates that the enabled state of the service + // is unspecified or not meaningful. Currently, all consumers other than + // projects (such as folders and organizations) are always in this state. + STATE_UNSPECIFIED = 0; + + // The service cannot be used by this consumer. It has either been explicitly + // disabled, or has never been enabled. + DISABLED = 1; + + // The service has been explicitly enabled for use by this consumer. + ENABLED = 2; +} + +// The configuration of the service. +message ServiceConfig { + // The DNS address at which this service is available. + // + // An example DNS address would be: + // `calendar.googleapis.com`. + string name = 1; + + // The product title for this service. + string title = 2; + + // A list of API interfaces exported by this service. Contains only the names, + // versions, and method names of the interfaces. + repeated google.protobuf.Api apis = 3; + + // Additional API documentation. Contains only the summary and the + // documentation URL. + google.api.Documentation documentation = 6; + + // Quota configuration. + google.api.Quota quota = 10; + + // Auth configuration. Contains only the OAuth rules. + google.api.Authentication authentication = 11; + + // Configuration controlling usage of this service. + google.api.Usage usage = 15; + + // Configuration for network endpoints. Contains only the names and aliases + // of the endpoints. + 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. + repeated google.api.MonitoredResourceDescriptor monitored_resources = 25; + + // Monitoring configuration. + // This should not include the 'producer_destinations' field. + google.api.Monitoring monitoring = 28; +} + +// The operation metadata returned for the batchend services operation. +message OperationMetadata { + // The full name of the resources that this operation is directly + // associated with. + repeated string resource_names = 2; +} diff --git a/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto b/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto new file mode 100644 index 000000000..fad7c3271 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto @@ -0,0 +1,301 @@ +// 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.api.serviceusage.v1; + +import "google/api/annotations.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 java_multiple_files = true; +option java_outer_classname = "ServiceUsageProto"; +option java_package = "com.google.api.serviceusage.v1"; +option php_namespace = "Google\\Cloud\\ServiceUsage\\V1"; +option ruby_package = "Google::Cloud::ServiceUsage::V1"; + +// Enables services that service consumers want to use on Google Cloud Platform, +// lists the available or enabled services, or disables services that service +// consumers no longer use. +// +// See [Service Usage API](https://cloud.google.com/service-usage/docs/overview) +service ServiceUsage { + option (google.api.default_host) = "serviceusage.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only," + "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) { + option (google.api.http) = { + post: "/v1/{name=*/*/services/*}:enable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "EnableServiceResponse" + metadata_type: "OperationMetadata" + }; + } + + // Disable a service so that it can no longer be used with a project. + // This prevents unintended usage that may cause unexpected billing + // charges or security leaks. + // + // 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) { + option (google.api.http) = { + post: "/v1/{name=*/*/services/*}:disable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "DisableServiceResponse" + metadata_type: "OperationMetadata" + }; + } + + // Returns the service configuration and enabled state for a given service. + rpc GetService(GetServiceRequest) returns (Service) { + option (google.api.http) = { + get: "/v1/{name=*/*/services/*}" + }; + } + + // List all services available to the specified project, and the current + // state of those services with respect to the project. The list includes + // all public services, all services for which the calling user has the + // `servicemanagement.services.bind` permission, and all services that have + // already been enabled on the project. The list can be filtered to + // only include services in a specific state, for example to only include + // services enabled on the project. + // + // WARNING: If you need to query enabled services frequently or across + // an organization, you should use + // [Cloud Asset Inventory + // API](https://cloud.google.com/asset-inventory/docs/apis), which provides + // higher throughput and richer filtering capability. + rpc ListServices(ListServicesRequest) returns (ListServicesResponse) { + option (google.api.http) = { + get: "/v1/{parent=*/*}/services" + }; + } + + // 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) { + option (google.api.http) = { + post: "/v1/{parent=*/*}/services:batchEnable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "BatchEnableServicesResponse" + metadata_type: "OperationMetadata" + }; + } + + // Returns the service configurations and enabled states for a given list of + // services. + rpc BatchGetServices(BatchGetServicesRequest) returns (BatchGetServicesResponse) { + option (google.api.http) = { + get: "/v1/{parent=*/*}/services:batchGet" + }; + } +} + +// Request message for the `EnableService` method. +message EnableServiceRequest { + // Name of the consumer and service to enable the service on. + // + // The `EnableService` and `DisableService` methods currently only support + // projects. + // + // Enabling a service requires that the service is public or is shared with + // the user enabling the service. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` where `123` is the + // project number. + string name = 1; +} + +// Response message for the `EnableService` method. +// This response message is assigned to the `response` field of the returned +// Operation when that operation is done. +message EnableServiceResponse { + // The new state of the service after enabling. + Service service = 1; +} + +// Request message for the `DisableService` method. +message DisableServiceRequest { + // Enum to determine if service usage should be checked when disabling a + // service. + enum CheckIfServiceHasUsage { + // When unset, the default behavior is used, which is SKIP. + CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0; + + // If set, skip checking service usage when disabling a service. + SKIP = 1; + + // If set, service usage is checked when disabling the service. If a + // service, or its dependents, has usage in the last 30 days, the request + // returns a FAILED_PRECONDITION error. + CHECK = 2; + } + + // Name of the consumer and service to disable the service on. + // + // The enable and disable methods currently only support projects. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` where `123` is the + // project number. + string name = 1; + + // Indicates if services that are enabled and which depend on this service + // should also be disabled. If not set, an error will be generated if any + // enabled services depend on the service to be disabled. When set, the + // service, and any enabled services that depend on it, will be disabled + // together. + bool disable_dependent_services = 2; + + // Defines the behavior for checking service usage when disabling a service. + CheckIfServiceHasUsage check_if_service_has_usage = 3; +} + +// Response message for the `DisableService` method. +// This response message is assigned to the `response` field of the returned +// Operation when that operation is done. +message DisableServiceResponse { + // The new state of the service after disabling. + Service service = 1; +} + +// Request message for the `GetService` method. +message GetServiceRequest { + // Name of the consumer and service to get the `ConsumerState` for. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` where `123` is the + // project number. + string name = 1; +} + +// Request message for the `ListServices` method. +message ListServicesRequest { + // Parent to search for services on. + // + // An example name would be: + // `projects/123` where `123` is the project number. + string parent = 1; + + // Requested size of the next page of data. + // Requested page size cannot exceed 200. + // If not set, the default page size is 50. + int32 page_size = 2; + + // Token identifying which result to start with, which is returned by a + // previous list call. + string page_token = 3; + + // Only list services that conform to the given filter. + // The allowed filter strings are `state:ENABLED` and `state:DISABLED`. + string filter = 4; +} + +// Response message for the `ListServices` method. +message ListServicesResponse { + // The available services for the requested project. + repeated Service services = 1; + + // Token that can be passed to `ListServices` to resume a paginated + // query. + string next_page_token = 2; +} + +// Request message for the `BatchEnableServices` method. +message BatchEnableServicesRequest { + // Parent to enable services on. + // + // An example name would be: + // `projects/123` where `123` is the project number. + // + // The `BatchEnableServices` method currently only supports projects. + string parent = 1; + + // The identifiers of the services to enable on the project. + // + // A valid identifier would be: + // serviceusage.googleapis.com + // + // Enabling services requires that each service is public or is shared with + // the user enabling the service. + // + // A single request can enable a maximum of 20 services at a time. If more + // than 20 services are specified, the request will fail, and no state changes + // will occur. + repeated string service_ids = 2; +} + +// Response message for the `BatchEnableServices` method. +// This response message is assigned to the `response` field of the returned +// Operation when that operation is done. +message BatchEnableServicesResponse { + // Provides error messages for the failing services. + message EnableFailure { + // The service id of a service that could not be enabled. + string service_id = 1; + + // An error message describing why the service could not be enabled. + string error_message = 2; + } + + // The new state of the services after enabling. + repeated Service services = 1; + + // If allow_partial_success is true, and one or more services could not be + // enabled, this field contains the details about each failure. + repeated EnableFailure failures = 2; +} + +// Request message for the `BatchGetServices` method. +message BatchGetServicesRequest { + // Parent to retrieve services from. + // If this is set, the parent of all of the services specified in `names` must + // match this field. An example name would be: `projects/123` where `123` is + // the project number. The `BatchGetServices` method currently only supports + // projects. + string parent = 1; + + // Names of the services to retrieve. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` where `123` is the + // project number. + // A single request can get a maximum of 30 services at a time. + repeated string names = 2; +} + +// Response message for the `BatchGetServices` method. +message BatchGetServicesResponse { + // The requested Service states. + repeated Service services = 1; +} diff --git a/third_party/googleapis/google/api/serviceusage/v1/serviceusage_grpc_service_config.json b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_grpc_service_config.json new file mode 100644 index 000000000..f7a8789f5 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_grpc_service_config.json @@ -0,0 +1,8 @@ +{ + "methodConfig": [{ + "name": [ + { "service": "google.api.serviceusage.v1.ServiceUsage" } + ], + "timeout": "60s" + }] +} diff --git a/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml new file mode 100644 index 000000000..28a463513 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml @@ -0,0 +1,75 @@ +type: google.api.Service +config_version: 3 +name: serviceusage.googleapis.com +title: Service Usage API + +apis: +- name: google.api.serviceusage.v1.ServiceUsage + +types: +- name: google.api.serviceusage.v1.BatchEnableServicesResponse +- name: google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure +- name: google.api.serviceusage.v1.DisableServiceResponse +- name: google.api.serviceusage.v1.EnableServiceResponse +- name: google.api.serviceusage.v1.OperationMetadata + +documentation: + summary: |- + Enables services that service consumers want to use on Google Cloud + Platform, lists the available or enabled services, or disables services + that service consumers no longer use. + overview: |- + The Service Usage API allows *service consumers* to manage the set + of *services* they interact with. Consumers can use the Service Usage API + or the [Google Cloud Console](https://console.cloud.google.com) to enable + services in their [Google + developer + project](https://developers.google.com/console/help/new/). After a service + is enabled, its APIs become available. + + ## Service consumers + + A service consumer is a Google developer project that has enabled and can + invoke APIs on a service. A service can have many service consumers. + +backend: + rules: + - selector: 'google.api.serviceusage.v1.ServiceUsage.*' + deadline: 20.0 + - selector: 'google.longrunning.Operations.*' + deadline: 20.0 + +http: + rules: + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: /v1/operations + +authentication: + rules: + - selector: 'google.api.serviceusage.v1.ServiceUsage.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/service.management + - selector: google.api.serviceusage.v1.ServiceUsage.BatchGetServices + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1.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.v1.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/service.management diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel b/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel new file mode 100644 index 000000000..338a8dd4a --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel @@ -0,0 +1,346 @@ +# 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", "proto_library_with_info") + +proto_library( + name = "serviceusage_proto", + srcs = [ + "resources.proto", + "serviceusage.proto", + ], + deps = [ + "//google/api:annotations_proto", + "//google/api:auth_proto", + "//google/api:client_proto", + "//google/api:documentation_proto", + "//google/api:endpoint_proto", + "//google/api:field_behavior_proto", + "//google/api:monitored_resource_proto", + "//google/api:monitoring_proto", + "//google/api:quota_proto", + "//google/api:usage_proto", + "//google/longrunning:operations_proto", + "@com_google_protobuf//:api_proto", + "@com_google_protobuf//:field_mask_proto", + ], +) + +proto_library_with_info( + name = "serviceusage_proto_with_info", + deps = [ + ":serviceusage_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 = "serviceusage_java_proto", + deps = [":serviceusage_proto"], +) + +java_grpc_library( + name = "serviceusage_java_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_java_proto"], +) + +java_gapic_library( + name = "serviceusage_java_gapic", + srcs = [":serviceusage_proto_with_info"], + grpc_service_config = "serviceusage_grpc_service_config.json", + test_deps = [ + ":serviceusage_java_grpc", + ], + deps = [ + ":serviceusage_java_proto", + ], +) + +java_gapic_test( + name = "serviceusage_java_gapic_test_suite", + test_classes = [ + "com.google.api.serviceusage.v1beta1.ServiceUsageClientTest", + ], + runtime_deps = [":serviceusage_java_gapic_test"], +) + +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-api-serviceusage-v1beta1-java", + deps = [ + ":serviceusage_java_gapic", + ":serviceusage_java_grpc", + ":serviceusage_java_proto", + ":serviceusage_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 = "serviceusage_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1", + 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/api/serviceusage/apiv1beta1;serviceusage", + metadata = True, + service_yaml = "serviceusage_v1beta1.yaml", + deps = [ + ":serviceusage_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-test.srcjar", + ":serviceusage_go_proto", + ], +) + +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", +) + +py_gapic_library( + name = "serviceusage_py_gapic", + srcs = [":serviceusage_proto"], + grpc_service_config = "serviceusage_grpc_service_config.json", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "api-serviceusage-v1beta1-py", + deps = [ + ":serviceusage_py_gapic", + ], +) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", +) + +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", + service_yaml = "serviceusage_v1beta1.yaml", + deps = [ + ":serviceusage_php_grpc", + ":serviceusage_php_proto", + ], +) + +# Open Source Packages +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", + src = ":serviceusage_proto_with_info", + extra_protoc_parameters = ["metadata"], + grpc_service_config = "serviceusage_grpc_service_config.json", + package = "google.api.serviceusage.v1beta1", + service_yaml = "serviceusage_v1beta1.yaml", + deps = [], +) + +nodejs_gapic_assembly_pkg( + name = "api-serviceusage-v1beta1-nodejs", + deps = [ + ":serviceusage_nodejs_gapic", + ":serviceusage_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 = "serviceusage_ruby_proto", + deps = [":serviceusage_proto"], +) + +ruby_grpc_library( + name = "serviceusage_ruby_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_ruby_proto"], +) + +ruby_cloud_gapic_library( + name = "serviceusage_ruby_gapic", + srcs = [":serviceusage_proto_with_info"], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-api-serviceusage-v1beta1"], + grpc_service_config = "serviceusage_grpc_service_config.json", + deps = [ + ":serviceusage_ruby_grpc", + ":serviceusage_ruby_proto", + ], +) + +# Open Source Packages +ruby_gapic_assembly_pkg( + name = "google-cloud-api-serviceusage-v1beta1-ruby", + deps = [ + ":serviceusage_ruby_gapic", + ":serviceusage_ruby_grpc", + ":serviceusage_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 = "serviceusage_csharp_proto", + deps = [":serviceusage_proto"], +) + +csharp_grpc_library( + name = "serviceusage_csharp_grpc", + srcs = [":serviceusage_proto"], + deps = [":serviceusage_csharp_proto"], +) + +csharp_gapic_library( + name = "serviceusage_csharp_gapic", + srcs = [":serviceusage_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "serviceusage_grpc_service_config.json", + deps = [ + ":serviceusage_csharp_grpc", + ":serviceusage_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-api-serviceusage-v1beta1-csharp", + deps = [ + ":serviceusage_csharp_gapic", + ":serviceusage_csharp_grpc", + ":serviceusage_csharp_proto", + ], +) + +############################################################################## +# C++ +############################################################################## +# Put your C++ rules here diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto b/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto new file mode 100644 index 000000000..4db1161f0 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto @@ -0,0 +1,395 @@ +// 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.api.serviceusage.v1beta1; + +import "google/api/auth.proto"; +import "google/api/documentation.proto"; +import "google/api/endpoint.proto"; +import "google/api/monitored_resource.proto"; +import "google/api/monitoring.proto"; +import "google/api/quota.proto"; +import "google/api/usage.proto"; +import "google/protobuf/api.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1"; +option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage"; +option java_multiple_files = true; +option java_outer_classname = "ResourcesProto"; +option java_package = "com.google.api.serviceusage.v1beta1"; +option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1"; +option ruby_package = "Google::Api::ServiceUsage::V1beta1"; + +// A service that is available for use by the consumer. +message Service { + // The resource name of the consumer and service. + // + // A valid name would be: + // - `projects/123/services/serviceusage.googleapis.com` + string name = 1; + + // The resource name of the consumer. + // + // A valid name would be: + // - `projects/123` + string parent = 5; + + // The service configuration of the available service. + // Some fields may be filtered out of the configuration in responses to + // the `ListServices` method. These fields are present only in responses to + // the `GetService` method. + ServiceConfig config = 2; + + // Whether or not the service has been enabled for use by the consumer. + State state = 4; +} + +// Whether or not a service has been enabled for use by a consumer. +enum State { + // The default value, which indicates that the enabled state of the service + // is unspecified or not meaningful. Currently, all consumers other than + // projects (such as folders and organizations) are always in this state. + STATE_UNSPECIFIED = 0; + + // The service cannot be used by this consumer. It has either been explicitly + // disabled, or has never been enabled. + DISABLED = 1; + + // The service has been explicitly enabled for use by this consumer. + ENABLED = 2; +} + +// The configuration of the service. +message ServiceConfig { + // The DNS address at which this service is available. + // + // An example DNS address would be: + // `calendar.googleapis.com`. + string name = 1; + + // The product title for this service. + string title = 2; + + // A list of API interfaces exported by this service. Contains only the names, + // versions, and method names of the interfaces. + repeated google.protobuf.Api apis = 3; + + // Additional API documentation. Contains only the summary and the + // documentation URL. + google.api.Documentation documentation = 6; + + // Quota configuration. + google.api.Quota quota = 10; + + // Auth configuration. Contains only the OAuth rules. + google.api.Authentication authentication = 11; + + // Configuration controlling usage of this service. + google.api.Usage usage = 15; + + // Configuration for network endpoints. Contains only the names and aliases + // of the endpoints. + 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. + repeated google.api.MonitoredResourceDescriptor monitored_resources = 25; + + // Monitoring configuration. + // This should not include the 'producer_destinations' field. + google.api.Monitoring monitoring = 28; +} + +// The operation metadata returned for the batchend services operation. +message OperationMetadata { + // The full name of the resources that this operation is directly + // associated with. + repeated string resource_names = 2; +} + +// Consumer quota settings for a quota metric. +message ConsumerQuotaMetric { + // The resource name of the quota settings on this metric for this consumer. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` + // + // The resource name is intended to be opaque and should not be parsed for + // its component strings, since its representation could change in the future. + string name = 1; + + // The name of the metric. + // + // An example name would be: + // `compute.googleapis.com/cpus` + string metric = 4; + + // The display name of the metric. + // + // An example name would be: + // `CPUs` + string display_name = 2; + + // The consumer quota for each quota limit defined on the metric. + repeated ConsumerQuotaLimit consumer_quota_limits = 3; + + // The quota limits targeting the descendant containers of the + // consumer in request. + // + // If the consumer in request is of type `organizations` + // or `folders`, the field will list per-project limits in the metric; if the + // consumer in request is of type `project`, the field will be empty. + // + // The `quota_buckets` field of each descendant consumer quota limit will not + // be populated. + repeated ConsumerQuotaLimit descendant_consumer_quota_limits = 6; + + // The units in which the metric value is reported. + string unit = 5; +} + +// Consumer quota settings for a quota limit. +message ConsumerQuotaLimit { + // The resource name of the quota limit. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + // + // The resource name is intended to be opaque and should not be parsed for + // its component strings, since its representation could change in the future. + string name = 1; + + // The name of the parent metric of this limit. + // + // An example name would be: + // `compute.googleapis.com/cpus` + string metric = 8; + + // The limit unit. + // + // 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 = 2; + + // Whether this limit is precise or imprecise. + bool is_precise = 3; + + // Whether admin overrides are allowed on this limit + bool allows_admin_overrides = 7; + + // Summary of the enforced quota buckets, organized by quota dimension, + // 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; +} + +// Selected view of quota. Can be used to request more detailed quota +// information when retrieving quota metrics and limits. +enum QuotaView { + // No quota view specified. Requests that do not specify a quota view will + // typically default to the BASIC view. + QUOTA_VIEW_UNSPECIFIED = 0; + + // Only buckets with overrides are shown in the response. + BASIC = 1; + + // Include per-location buckets even if they do not have overrides. + // When the view is FULL, and a limit has regional or zonal quota, the limit + // will include buckets for all regions or zones that could support + // overrides, even if none are currently present. In some cases this will + // cause the response to become very large; callers that do not need this + // extra information should use the BASIC view instead. + FULL = 2; +} + +// A quota bucket is a quota provisioning unit for a specific set of dimensions. +message QuotaBucket { + // The effective limit of this quota bucket. Equal to default_limit if there + // are no overrides. + int64 effective_limit = 1; + + // The default limit of this quota bucket, as specified by the service + // configuration. + int64 default_limit = 2; + + // Producer override on this quota bucket. + QuotaOverride producer_override = 3; + + // Consumer override on this quota bucket. + QuotaOverride consumer_override = 4; + + // Admin override on this quota bucket. + QuotaOverride admin_override = 5; + + // The dimensions of this quota bucket. + // + // If this map is empty, this is the global bucket, which is the default quota + // value applied to all requests that do not have a more specific override. + // + // If this map is nonempty, the default limit, effective limit, and quota + // overrides apply only to requests that have the dimensions given in the map. + // + // For example, if the map has key `region` and value `us-east-1`, then the + // specified effective limit is only effective in that region, and the + // specified overrides apply only in that region. + map dimensions = 6; +} + +// A quota override +message QuotaOverride { + // The resource name of the override. + // This name is generated by the server when the override is created. + // + // Example names would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + // + // The resource name is intended to be opaque and should not be parsed for + // its component strings, since its representation could change in the future. + string name = 1; + + // The overriding quota limit value. + // Can be any nonnegative integer, or -1 (unlimited quota). + int64 override_value = 2; + + // If this map is nonempty, then this override applies only to specific values + // for dimensions defined in the limit unit. + // + // For example, an override on a limit with the unit `1/{project}/{region}` + // could contain an entry with the key `region` and the value `us-east-1`; + // the override 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 overrides + // 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 override applies. + // + // An example name would be: + // `compute.googleapis.com/cpus` + string metric = 4; + + // The limit unit of the limit to which this override 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 resource name of the ancestor that requested the override. For example: + // `organizations/12345` or `folders/67890`. + // Used by admin overrides only. + string admin_override_ancestor = 6; +} + +// Import data embedded in the request message +message OverrideInlineSource { + // The overrides to create. + // Each override must have a value for 'metric' and 'unit', to specify + // which metric and which limit the override should be applied to. + // The 'name' field of the override does not need to be set; it is ignored. + repeated QuotaOverride overrides = 1; +} + +// Enumerations of quota safety checks. +enum QuotaSafetyCheck { + // Unspecified quota safety check. + QUOTA_SAFETY_CHECK_UNSPECIFIED = 0; + + // Validates that a quota mutation would not cause the consumer's effective + // limit to be lower than the consumer's quota usage. + LIMIT_DECREASE_BELOW_USAGE = 1; + + // Validates that a quota mutation would not cause the consumer's effective + // limit to decrease by more than 10 percent. + LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2; +} + +// Quota policy created by quota administrator. +message AdminQuotaPolicy { + // 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/adminQuotaPolicies/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, an 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: + // + // * 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. + // * Keys other than `region` or `zone` are not valid. + 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; +} + +// Service identity for a service. This is the identity that service producer +// should use to access consumer resources. +message ServiceIdentity { + // The email address of the service account that a service producer would use + // to access consumer resources. + string email = 1; + + // The unique and stable id of the service account. + // https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount + string unique_id = 2; +} diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto new file mode 100644 index 000000000..2b0761f33 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto @@ -0,0 +1,787 @@ +// 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.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/field_mask.proto"; + +option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1"; +option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage"; +option java_multiple_files = true; +option java_outer_classname = "ServiceUsageProto"; +option java_package = "com.google.api.serviceusage.v1beta1"; +option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1"; +option ruby_package = "Google::Api::ServiceUsage::V1beta1"; + +// [Service Usage API](https://cloud.google.com/service-usage/docs/overview) +service ServiceUsage { + option (google.api.default_host) = "serviceusage.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only," + "https://www.googleapis.com/auth/service.management"; + + // 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) { + option deprecated = true; + option (google.api.http) = { + post: "/v1beta1/{name=*/*/services/*}:enable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Disables a service so that it can no longer be used with a project. + // This prevents unintended usage that may cause unexpected billing + // charges or security leaks. + // + // 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. + // + // Operation response type: `google.protobuf.Empty` + rpc DisableService(DisableServiceRequest) returns (google.longrunning.Operation) { + option deprecated = true; + option (google.api.http) = { + post: "/v1beta1/{name=*/*/services/*}:disable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Returns the service configuration and enabled state for a given service. + rpc GetService(GetServiceRequest) returns (Service) { + option deprecated = true; + option (google.api.http) = { + get: "/v1beta1/{name=*/*/services/*}" + }; + } + + // Lists all services available to the specified project, and the current + // state of those services with respect to the project. The list includes + // all public services, all services for which the calling user has the + // `servicemanagement.services.bind` permission, and all services that have + // already been enabled on the project. The list can be filtered to + // only include services in a specific state, for example to only include + // services enabled on the project. + rpc ListServices(ListServicesRequest) returns (ListServicesResponse) { + option deprecated = true; + option (google.api.http) = { + get: "/v1beta1/{parent=*/*}/services" + }; + } + + // Enables multiple services on a project. The operation is atomic: if + // enabling any service fails, then the entire batch fails, and no state + // changes occur. + // + // Operation response type: `google.protobuf.Empty` + rpc BatchEnableServices(BatchEnableServicesRequest) returns (google.longrunning.Operation) { + option deprecated = true; + option (google.api.http) = { + post: "/v1beta1/{parent=*/*}/services:batchEnable" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Retrieves a summary of all quota information visible to the service + // consumer, organized by service metric. Each metric includes information + // 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) { + 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) { + 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) { + option (google.api.http) = { + get: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*}" + }; + } + + // Creates an admin override. + // An admin override is applied by an administrator of a parent folder or + // parent organization of the consumer receiving the override. An admin + // 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) { + option (google.api.http) = { + post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" + body: "override" + }; + option (google.longrunning.operation_info) = { + response_type: "QuotaOverride" + metadata_type: "OperationMetadata" + }; + } + + // Updates an admin override. + rpc UpdateAdminOverride(UpdateAdminOverrideRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" + body: "override" + }; + option (google.longrunning.operation_info) = { + response_type: "QuotaOverride" + metadata_type: "OperationMetadata" + }; + } + + // Deletes an admin override. + rpc DeleteAdminOverride(DeleteAdminOverrideRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Lists all admin overrides on this limit. + rpc ListAdminOverrides(ListAdminOverridesRequest) returns (ListAdminOverridesResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" + }; + } + + // 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) { + option (google.api.http) = { + post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importAdminOverrides" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportAdminOverridesResponse" + metadata_type: "ImportAdminOverridesMetadata" + }; + } + + // Creates a consumer override. + // A consumer override is applied to the consumer on its own authority to + // 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) { + option (google.api.http) = { + post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" + body: "override" + }; + option (google.longrunning.operation_info) = { + response_type: "QuotaOverride" + metadata_type: "OperationMetadata" + }; + } + + // Updates a consumer override. + rpc UpdateConsumerOverride(UpdateConsumerOverrideRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" + body: "override" + }; + option (google.longrunning.operation_info) = { + response_type: "QuotaOverride" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a consumer override. + rpc DeleteConsumerOverride(DeleteConsumerOverrideRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Lists all consumer overrides on this limit. + rpc ListConsumerOverrides(ListConsumerOverridesRequest) returns (ListConsumerOverridesResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" + }; + } + + // 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) { + option (google.api.http) = { + post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importConsumerOverrides" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportConsumerOverridesResponse" + metadata_type: "ImportConsumerOverridesMetadata" + }; + } + + // Generates service identity for service. + rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=*/*/services/*}:generateServiceIdentity" + }; + option (google.longrunning.operation_info) = { + response_type: "ServiceIdentity" + metadata_type: "google.protobuf.Empty" + }; + } +} + +// Request message for the `EnableService` method. +message EnableServiceRequest { + // Name of the consumer and service to enable the service on. + // + // The `EnableService` and `DisableService` methods currently only support + // projects. + // + // Enabling a service requires that the service is public or is shared with + // the user enabling the service. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` + // where `123` is the project number (not project ID). + string name = 1; +} + +// Request message for the `DisableService` method. +message DisableServiceRequest { + // Name of the consumer and service to disable the service on. + // + // The enable and disable methods currently only support projects. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` + // where `123` is the project number (not project ID). + string name = 1; +} + +// Request message for the `GetService` method. +message GetServiceRequest { + // Name of the consumer and service to get the `ConsumerState` for. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com` + // where `123` is the project number (not project ID). + string name = 1; +} + +// Request message for the `ListServices` method. +message ListServicesRequest { + // Parent to search for services on. + // + // An example name would be: + // `projects/123` + // where `123` is the project number (not project ID). + string parent = 1; + + // Requested size of the next page of data. + // Requested page size cannot exceed 200. + // If not set, the default page size is 50. + int32 page_size = 2; + + // Token identifying which result to start with, which is returned by a + // previous list call. + string page_token = 3; + + // Only list services that conform to the given filter. + // The allowed filter strings are `state:ENABLED` and `state:DISABLED`. + string filter = 4; +} + +// Response message for the `ListServices` method. +message ListServicesResponse { + // The available services for the requested project. + repeated Service services = 1; + + // Token that can be passed to `ListServices` to resume a paginated + // query. + string next_page_token = 2; +} + +// Request message for the `BatchEnableServices` method. +message BatchEnableServicesRequest { + // Parent to enable services on. + // + // An example name would be: + // `projects/123` + // where `123` is the project number (not project ID). + // + // The `BatchEnableServices` method currently only supports projects. + string parent = 1; + + // The identifiers of the services to enable on the project. + // + // A valid identifier would be: + // serviceusage.googleapis.com + // + // Enabling services requires that each service is public or is shared with + // the user enabling the service. + // + // Two or more services must be specified. To enable a single service, + // use the `EnableService` method instead. + // + // A single request can enable a maximum of 20 services at a time. If more + // than 20 services are specified, the request will fail, and no state changes + // will occur. + repeated string service_ids = 2; +} + +// Request message for ListConsumerQuotaMetrics +message ListConsumerQuotaMetricsRequest { + // Parent of the quotas resource. + // + // Some example names would be: + // `projects/123/services/serviceconsumermanagement.googleapis.com` + // `folders/345/services/serviceconsumermanagement.googleapis.com` + // `organizations/456/services/serviceconsumermanagement.googleapis.com` + string parent = 1; + + // Requested size of the next page of data. + int32 page_size = 2; + + // Token identifying which result to start with; returned by a previous list + // call. + string page_token = 3; + + // Specifies the level of detail for quota information in the response. + QuotaView view = 4; +} + +// Response message for ListConsumerQuotaMetrics +message ListConsumerQuotaMetricsResponse { + // Quota settings for the consumer, organized by quota metric. + repeated ConsumerQuotaMetric metrics = 1; + + // Token identifying which result to start with; returned by a previous list + // call. + string next_page_token = 2; +} + +// Request message for GetConsumerQuotaMetric +message GetConsumerQuotaMetricRequest { + // The resource name of the quota limit. + // + // An example name would be: + // `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` + string name = 1; + + // Specifies the level of detail for quota information in the response. + QuotaView view = 2; +} + +// Request message for GetConsumerQuotaLimit +message GetConsumerQuotaLimitRequest { + // The resource name of the quota limit. + // + // Use the quota limit resource name returned by previous + // ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. + string name = 1; + + // Specifies the level of detail for quota information in the response. + QuotaView view = 2; +} + +// Request message for CreateAdminOverride. +message CreateAdminOverrideRequest { + // The resource name of the parent quota limit, returned by a + // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + string parent = 1; + + // The admin override to create. + QuotaOverride override = 2; + + // Whether to force the creation of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 4; +} + +// Request message for UpdateAdminOverride. +message UpdateAdminOverrideRequest { + // The resource name of the override to update. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + string name = 1; + + // The new override. + // Only the override_value is updated; all other fields are ignored. + QuotaOverride override = 2; + + // Whether to force the update of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // Update only the specified fields of the override. + // If unset, all fields will be updated. + google.protobuf.FieldMask update_mask = 4; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 5; +} + +// Request message for DeleteAdminOverride. +message DeleteAdminOverrideRequest { + // The resource name of the override to delete. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + string name = 1; + + // Whether to force the deletion of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 2; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 3; +} + +// Request message for ListAdminOverrides +message ListAdminOverridesRequest { + // The resource name of the parent quota limit, returned by a + // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + string parent = 1; + + // Requested size of the next page of data. + int32 page_size = 2; + + // Token identifying which result to start with; returned by a previous list + // call. + string page_token = 3; +} + +// Response message for ListAdminOverrides. +message ListAdminOverridesResponse { + // Admin overrides on this limit. + repeated QuotaOverride overrides = 1; + + // Token identifying which result to start with; returned by a previous list + // call. + string next_page_token = 2; +} + +// Response message for BatchCreateAdminOverrides +message BatchCreateAdminOverridesResponse { + // The overrides that were created. + repeated QuotaOverride overrides = 1; +} + +// Request message for ImportAdminOverrides +message ImportAdminOverridesRequest { + // The resource name of the consumer. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com` + string parent = 1; + + // Source of import data + oneof source { + // The import data is specified in the request message itself + OverrideInlineSource inline_source = 2; + } + + // Whether to force the creation of the quota overrides. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 4; +} + +// Response message for ImportAdminOverrides +message ImportAdminOverridesResponse { + // The overrides that were created from the imported data. + repeated QuotaOverride overrides = 1; +} + +// Metadata message that provides information such as progress, +// partial failures, and similar information on each GetOperation call +// of LRO returned by ImportAdminOverrides. +message ImportAdminOverridesMetadata { + +} + +// Request message for CreateConsumerOverride. +message CreateConsumerOverrideRequest { + // The resource name of the parent quota limit, returned by a + // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + string parent = 1; + + // The override to create. + QuotaOverride override = 2; + + // Whether to force the creation of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 4; +} + +// Request message for UpdateConsumerOverride. +message UpdateConsumerOverrideRequest { + // The resource name of the override to update. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + string name = 1; + + // The new override. + // Only the override_value is updated; all other fields are ignored. + QuotaOverride override = 2; + + // Whether to force the update of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // Update only the specified fields of the override. + // If unset, all fields will be updated. + google.protobuf.FieldMask update_mask = 4; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 5; +} + +// Request message for DeleteConsumerOverride. +message DeleteConsumerOverrideRequest { + // The resource name of the override to delete. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + string name = 1; + + // Whether to force the deletion of the quota override. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 2; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 3; +} + +// Request message for ListConsumerOverrides +message ListConsumerOverridesRequest { + // The resource name of the parent quota limit, returned by a + // ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + string parent = 1; + + // Requested size of the next page of data. + int32 page_size = 2; + + // Token identifying which result to start with; returned by a previous list + // call. + string page_token = 3; +} + +// Response message for ListConsumerOverrides. +message ListConsumerOverridesResponse { + // Consumer overrides on this limit. + repeated QuotaOverride overrides = 1; + + // Token identifying which result to start with; returned by a previous list + // call. + string next_page_token = 2; +} + +// Response message for BatchCreateConsumerOverrides +message BatchCreateConsumerOverridesResponse { + // The overrides that were created. + repeated QuotaOverride overrides = 1; +} + +// Request message for ImportConsumerOverrides +message ImportConsumerOverridesRequest { + // The resource name of the consumer. + // + // An example name would be: + // `projects/123/services/compute.googleapis.com` + string parent = 1; + + // Source of import data + oneof source { + // The import data is specified in the request message itself + OverrideInlineSource inline_source = 2; + } + + // Whether to force the creation of the quota overrides. + // Setting the force parameter to 'true' ignores all quota safety checks that + // would fail the request. QuotaSafetyCheck lists all such validations. + bool force = 3; + + // The list of quota safety checks to ignore before the override mutation. + // Unlike 'force' field that ignores all the quota safety checks, the + // 'force_only' field ignores only the specified checks; other checks are + // still enforced. The 'force' and 'force_only' fields cannot both be set. + repeated QuotaSafetyCheck force_only = 4; +} + +// Response message for ImportConsumerOverrides +message ImportConsumerOverridesResponse { + // The overrides that were created from the imported data. + repeated QuotaOverride overrides = 1; +} + +// Metadata message that provides information such as progress, +// partial failures, and similar information on each GetOperation call +// of LRO returned by ImportConsumerOverrides. +message ImportConsumerOverridesMetadata { + +} + +// Response message for ImportAdminQuotaPolicies +message ImportAdminQuotaPoliciesResponse { + // The policies that were created from the imported data. + repeated AdminQuotaPolicy policies = 1; +} + +// Metadata message that provides information such as progress, +// partial failures, and similar information on each GetOperation call +// of LRO returned by ImportAdminQuotaPolicies. +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 { + +} + +// Metadata message that provides information such as progress, +// partial failures, and similar information on each GetOperation call +// of LRO returned by UpdateAdminQuotaPolicy. +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 { + +} + +// 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. + // + // An example name would be: + // `projects/123/services/example.googleapis.com` where `123` is the + // project number. + string parent = 1; +} + +// Response message for getting service identity. +message GetServiceIdentityResponse { + // Enum for service identity state. + enum IdentityState { + // Default service identity state. This value is used if the state is + // omitted. + IDENTITY_STATE_UNSPECIFIED = 0; + + // Service identity has been created and can be used. + ACTIVE = 1; + } + + // Service identity that service producer can use to access consumer + // resources. If exists is true, it contains email and unique_id. If exists is + // false, it contains pre-constructed email and empty unique_id. + ServiceIdentity identity = 1; + + // Service identity state. + IdentityState state = 2; +} + +// Metadata for the `GetServiceIdentity` method. +message GetServiceIdentityMetadata { + +} diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_grpc_service_config.json b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_grpc_service_config.json new file mode 100644 index 000000000..c04430c6a --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_grpc_service_config.json @@ -0,0 +1,8 @@ +{ + "methodConfig": [{ + "name": [ + { "service": "google.api.serviceusage.v1beta1.ServiceUsage" } + ], + "timeout": "5s" + }] +} diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml new file mode 100644 index 000000000..1a1db7e92 --- /dev/null +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml @@ -0,0 +1,68 @@ +type: google.api.Service +config_version: 3 +name: serviceusage.googleapis.com +title: Service Usage API + +apis: +- name: google.api.serviceusage.v1beta1.ServiceUsage + +types: +- name: google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse +- name: google.api.serviceusage.v1beta1.BatchCreateConsumerOverridesResponse +- name: google.api.serviceusage.v1beta1.CreateAdminQuotaPolicyMetadata +- name: google.api.serviceusage.v1beta1.DeleteAdminQuotaPolicyMetadata +- name: google.api.serviceusage.v1beta1.GetServiceIdentityMetadata +- name: google.api.serviceusage.v1beta1.GetServiceIdentityResponse +- name: google.api.serviceusage.v1beta1.ImportAdminOverridesMetadata +- name: google.api.serviceusage.v1beta1.ImportAdminOverridesResponse +- name: google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesMetadata +- name: google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesResponse +- name: google.api.serviceusage.v1beta1.ImportConsumerOverridesMetadata +- name: google.api.serviceusage.v1beta1.ImportConsumerOverridesResponse +- name: google.api.serviceusage.v1beta1.OperationMetadata +- name: google.api.serviceusage.v1beta1.ServiceIdentity +- name: google.api.serviceusage.v1beta1.UpdateAdminQuotaPolicyMetadata + +documentation: + summary: |- + Enables services that service consumers want to use on Google Cloud + Platform, lists the available or enabled services, or disables services + that service consumers no longer use. + overview: |- + The Service Usage API allows *service consumers* to manage the set + of *services* they interact with. Consumers can use the Service Usage API + or the [Google Cloud Console](https://console.cloud.google.com) to enable + services in their [Google + developer + project](https://developers.google.com/console/help/new/). After a service + is enabled, its APIs become available. + + ## Service consumers + + A service consumer is a Google developer project that has enabled and can + invoke APIs on a service. A service can have many service consumers. + +backend: + rules: + - selector: 'google.api.serviceusage.v1beta1.ServiceUsage.*' + deadline: 5.0 + - selector: 'google.longrunning.Operations.*' + deadline: 5.0 + +http: + rules: + - selector: google.longrunning.Operations.GetOperation + get: '/v1beta1/{name=operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: /v1beta1/operations + +authentication: + rules: + - selector: 'google.api.serviceusage.v1beta1.ServiceUsage.*' + 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/api/source_info.proto b/third_party/googleapis/google/api/source_info.proto index 3174209b2..cbdd625cd 100644 --- a/third_party/googleapis/google/api/source_info.proto +++ b/third_party/googleapis/google/api/source_info.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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 50d428d6e..7d0b1d572 100644 --- a/third_party/googleapis/google/api/system_parameter.proto +++ b/third_party/googleapis/google/api/system_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/usage.proto b/third_party/googleapis/google/api/usage.proto index b37dff785..ad2764c90 100644 --- a/third_party/googleapis/google/api/usage.proto +++ b/third_party/googleapis/google/api/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2015 Google LLC // // Licensed under the Apache License, 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/visibility.proto b/third_party/googleapis/google/api/visibility.proto new file mode 100644 index 000000000..bde48dd20 --- /dev/null +++ b/third_party/googleapis/google/api/visibility.proto @@ -0,0 +1,111 @@ +// 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.api; + +import "google/protobuf/descriptor.proto"; + +option cc_enable_arenas = true; +option go_package = "google.golang.org/genproto/googleapis/api/visibility;visibility"; +option java_multiple_files = true; +option java_outer_classname = "VisibilityProto"; +option java_package = "com.google.api"; +option objc_class_prefix = "GAPI"; + +extend google.protobuf.EnumOptions { + // See `VisibilityRule`. + google.api.VisibilityRule enum_visibility = 72295727; +} + +extend google.protobuf.EnumValueOptions { + // See `VisibilityRule`. + google.api.VisibilityRule value_visibility = 72295727; +} + +extend google.protobuf.FieldOptions { + // See `VisibilityRule`. + google.api.VisibilityRule field_visibility = 72295727; +} + +extend google.protobuf.MessageOptions { + // See `VisibilityRule`. + google.api.VisibilityRule message_visibility = 72295727; +} + +extend google.protobuf.MethodOptions { + // See `VisibilityRule`. + google.api.VisibilityRule method_visibility = 72295727; +} + +extend google.protobuf.ServiceOptions { + // See `VisibilityRule`. + google.api.VisibilityRule api_visibility = 72295727; +} + +// `Visibility` defines restrictions for the visibility of service +// elements. Restrictions are specified using visibility labels +// (e.g., PREVIEW) that are elsewhere linked to users and projects. +// +// Users and projects can have access to more than one visibility label. The +// effective visibility for multiple labels is the union of each label's +// elements, plus any unrestricted elements. +// +// If an element and its parents have no restrictions, visibility is +// unconditionally granted. +// +// Example: +// +// visibility: +// rules: +// - selector: google.calendar.Calendar.EnhancedSearch +// restriction: PREVIEW +// - selector: google.calendar.Calendar.Delegate +// restriction: INTERNAL +// +// Here, all methods are publicly visible except for the restricted methods +// EnhancedSearch and Delegate. +message Visibility { + // A list of visibility rules that apply to individual API elements. + // + // **NOTE:** All service configuration rules follow "last one wins" order. + repeated VisibilityRule rules = 1; +} + +// A visibility rule provides visibility configuration for an individual API +// element. +message VisibilityRule { + // Selects methods, messages, fields, enums, etc. to which this rule applies. + // + // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + string selector = 1; + + // A comma-separated list of visibility labels that apply to the `selector`. + // Any of the listed labels can be used to grant the visibility. + // + // If a rule has multiple labels, removing one of the labels but not all of + // them can break clients. + // + // Example: + // + // visibility: + // rules: + // - selector: google.calendar.Calendar.EnhancedSearch + // restriction: INTERNAL, PREVIEW + // + // Removing INTERNAL from this restriction will break clients that rely on + // this method and only had access to it through INTERNAL. + string restriction = 2; +} diff --git a/third_party/googleapis/google/appengine/legacy/BUILD.bazel b/third_party/googleapis/google/appengine/legacy/BUILD.bazel index 4f5ad9f8a..ab1592b97 100644 --- a/third_party/googleapis/google/appengine/legacy/BUILD.bazel +++ b/third_party/googleapis/google/appengine/legacy/BUILD.bazel @@ -88,11 +88,12 @@ py_grpc_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel b/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel index c2b745038..23a275f91 100644 --- a/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel @@ -63,40 +63,36 @@ go_proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_grpc_library", - "py_proto_library", + "py_gapic_library", + "py_gapic_assembly_pkg" ) -moved_proto_library( - name = "logging_moved_proto", +py_gapic_library( + name = "logging_py_gapic", srcs = [":logging_proto"], - deps = [ - "//google/logging/type:type_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:timestamp_proto", + opt_args = [ + "warehouse-package-name=google-cloud-appengine-logging", + "python-gapic-namespace=google.cloud", + "python-gapic-name=appengine_logging", ], ) -py_proto_library( - name = "logging_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":logging_moved_proto"], -) - -py_grpc_library( - name = "logging_py_grpc", - srcs = [":logging_moved_proto"], - deps = [":logging_py_proto"], +# Open Source Packages +py_gapic_assembly_pkg( + name = "google-cloud-appengine-logging-v1-py", + deps = [ + ":logging_py_gapic", + ], ) ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/appengine/logging/v1/request_log.proto b/third_party/googleapis/google/appengine/logging/v1/request_log.proto index 606ccd2eb..f44d31e3f 100644 --- a/third_party/googleapis/google/appengine/logging/v1/request_log.proto +++ b/third_party/googleapis/google/appengine/logging/v1/request_log.proto @@ -20,10 +20,13 @@ import "google/logging/type/log_severity.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.AppEngine.Logging.V1"; option go_package = "google.golang.org/genproto/googleapis/appengine/logging/v1;logging"; option java_multiple_files = true; option java_outer_classname = "RequestLogProto"; option java_package = "com.google.appengine.logging.v1"; +option php_namespace = "Google\\Cloud\\AppEngine\\Logging\\V1"; +option ruby_package = "Google::Cloud::AppEngine::Logging::V1"; // Application log line emitted while processing a request. message LogLine { diff --git a/third_party/googleapis/google/appengine/v1/BUILD.bazel b/third_party/googleapis/google/appengine/v1/BUILD.bazel index ea2809b68..2d2b178d7 100644 --- a/third_party/googleapis/google/appengine/v1/BUILD.bazel +++ b/third_party/googleapis/google/appengine/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"]) @@ -7,6 +16,7 @@ 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 = "appengine_proto", @@ -31,6 +41,8 @@ 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//:empty_proto", @@ -39,11 +51,22 @@ proto_library( ], ) +proto_library_with_info( + name = "appengine_proto_with_info", + deps = [ + ":appengine_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", ) @@ -59,12 +82,53 @@ java_grpc_library( deps = [":appengine_java_proto"], ) +java_gapic_library( + name = "appengine_java_gapic", + srcs = [":appengine_proto_with_info"], + grpc_service_config = "appengine_grpc_service_config.json", + test_deps = [ + ":appengine_java_grpc", + ], + deps = [ + ":appengine_java_proto", + ], +) + +java_gapic_test( + name = "appengine_java_gapic_test_suite", + test_classes = [ + "com.google.appengine.v1.ApplicationsClientTest", + "com.google.appengine.v1.AuthorizedCertificatesClientTest", + "com.google.appengine.v1.AuthorizedDomainsClientTest", + "com.google.appengine.v1.DomainMappingsClientTest", + "com.google.appengine.v1.FirewallClientTest", + "com.google.appengine.v1.InstancesClientTest", + "com.google.appengine.v1.ServicesClientTest", + "com.google.appengine.v1.VersionsClientTest", + ], + runtime_deps = [":appengine_java_gapic_test"], +) + +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-appengine-v1-java", + deps = [ + ":appengine_java_gapic", + ":appengine_java_grpc", + ":appengine_java_proto", + ":appengine_proto", + ], +) + ############################################################################## # Go ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", "go_proto_library", + "go_test", ) go_proto_library( @@ -78,49 +142,78 @@ go_proto_library( ], ) +go_gapic_library( + name = "appengine_go_gapic", + srcs = [":appengine_proto_with_info"], + grpc_service_config = "appengine_grpc_service_config.json", + importpath = "cloud.google.com/go/appengine/apiv1;appengine", + metadata = True, + service_yaml = "appengine_v1.yaml", + deps = [ + ":appengine_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 = "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-test.srcjar", + ":appengine_go_proto", + ], +) + ############################################################################## # Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_grpc_library", - "py_proto_library", + "py_gapic_assembly_pkg", + "py_gapic_library", ) -moved_proto_library( - name = "appengine_moved_proto", +py_gapic_library( + name = "appengine_py_gapic", srcs = [":appengine_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_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", + grpc_service_config = "appengine_grpc_service_config.json", + opt_args = [ + "warehouse-package-name=google-cloud-appengine-admin", + "python-gapic-namespace=google.cloud", + "python-gapic-name=appengine_admin", ], ) -py_proto_library( - name = "appengine_py_proto", - plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":appengine_moved_proto"], -) - -py_grpc_library( - name = "appengine_py_grpc", - srcs = [":appengine_moved_proto"], - deps = [":appengine_py_proto"], +# Open Source Packages +py_gapic_assembly_pkg( + name = "google-cloud-appengine-v1-py", + deps = [ + ":appengine_py_gapic", + ], ) ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -134,6 +227,27 @@ php_grpc_library( deps = [":appengine_php_proto"], ) +php_gapic_library( + name = "appengine_php_gapic", + srcs = [":appengine_proto_with_info"], + grpc_service_config = "appengine_grpc_service_config.json", + service_yaml = "appengine_v1.yaml", + deps = [ + ":appengine_php_grpc", + ":appengine_php_proto", + ], +) + +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-cloud-appengine-v1-php", + deps = [ + ":appengine_php_gapic", + ":appengine_php_grpc", + ":appengine_php_proto", + ], +) + ############################################################################## # Node.js ############################################################################## @@ -143,12 +257,32 @@ load( "nodejs_gapic_library", ) +nodejs_gapic_library( + name = "appengine_nodejs_gapic", + package_name = "@google-cloud/appengine-admin", + src = ":appengine_proto_with_info", + extra_protoc_parameters = ["metadata"], + grpc_service_config = "appengine_grpc_service_config.json", + package = "google.appengine.v1", + service_yaml = "appengine_v1.yaml", + deps = [], +) + +nodejs_gapic_assembly_pkg( + name = "appengine-v1-nodejs", + deps = [ + ":appengine_nodejs_gapic", + ":appengine_proto", + ], +) ############################################################################## # Ruby ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", + "ruby_gapic_assembly_pkg", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -164,11 +298,41 @@ ruby_grpc_library( deps = [":appengine_ruby_proto"], ) +ruby_cloud_gapic_library( + name = "appengine_ruby_gapic", + srcs = [":appengine_proto_with_info"], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-cloud-app_engine-v1", + "ruby-cloud-env-prefix=APP_ENGINE", + "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 V1", + deps = [ + ":appengine_ruby_grpc", + ":appengine_ruby_proto", + ], +) + +# Open Source Packages +ruby_gapic_assembly_pkg( + name = "google-cloud-appengine-v1-ruby", + deps = [ + ":appengine_ruby_gapic", + ":appengine_ruby_grpc", + ":appengine_ruby_proto", + ], +) + ############################################################################## # C# ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", "csharp_grpc_library", "csharp_proto_library", ) @@ -184,7 +348,28 @@ csharp_grpc_library( deps = [":appengine_csharp_proto"], ) +csharp_gapic_library( + name = "appengine_csharp_gapic", + srcs = [":appengine_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "appengine_grpc_service_config.json", + deps = [ + ":appengine_csharp_grpc", + ":appengine_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-appengine-v1-csharp", + deps = [ + ":appengine_csharp_gapic", + ":appengine_csharp_grpc", + ":appengine_csharp_proto", + ], +) + ############################################################################## # C++ ############################################################################## -# Put your C++ code here +# Put your C++ rules here diff --git a/third_party/googleapis/google/appengine/v1/app_yaml.proto b/third_party/googleapis/google/appengine/v1/app_yaml.proto index e64aba6aa..657ad97f8 100644 --- a/third_party/googleapis/google/appengine/v1/app_yaml.proto +++ b/third_party/googleapis/google/appengine/v1/app_yaml.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1/appengine.proto b/third_party/googleapis/google/appengine/v1/appengine.proto index 9fe4a7671..76c6d6871 100644 --- a/third_party/googleapis/google/appengine/v1/appengine.proto +++ b/third_party/googleapis/google/appengine/v1/appengine.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -559,7 +559,7 @@ service Instances { // Response message for `Firewall.ListIngressRules`. message ListIngressRulesResponse { // The ingress FirewallRules for this application. - repeated FirewallRule ingress_rules = 1; + repeated google.appengine.v1.FirewallRule ingress_rules = 1; // Continuation token for fetching the next page of results. string next_page_token = 2; @@ -572,13 +572,13 @@ message BatchUpdateIngressRulesRequest { string name = 1; // A list of FirewallRules to replace the existing set. - repeated FirewallRule ingress_rules = 2; + repeated google.appengine.v1.FirewallRule ingress_rules = 2; } // Response message for `Firewall.UpdateAllIngressRules`. message BatchUpdateIngressRulesResponse { // The full list of ingress FirewallRules for this application. - repeated FirewallRule ingress_rules = 1; + repeated google.appengine.v1.FirewallRule ingress_rules = 1; } // Request message for `Firewall.CreateIngressRule`. @@ -597,7 +597,7 @@ message CreateIngressRuleRequest { // If no position is provided, the server will place the rule as the second to // last rule in the sequence before the required default allow-all or deny-all // rule. - FirewallRule rule = 2; + google.appengine.v1.FirewallRule rule = 2; } // Request message for `Firewall.GetIngressRule`. @@ -614,7 +614,7 @@ message UpdateIngressRuleRequest { string name = 1; // A FirewallRule containing the updated resource - FirewallRule rule = 2; + google.appengine.v1.FirewallRule rule = 2; // Standard field mask for the set of fields to be updated. google.protobuf.FieldMask update_mask = 3; @@ -642,7 +642,7 @@ message ListAuthorizedDomainsRequest { // Response message for `AuthorizedDomains.ListAuthorizedDomains`. message ListAuthorizedDomainsResponse { // The authorized domains belonging to the user. - repeated AuthorizedDomain domains = 1; + repeated google.appengine.v1.AuthorizedDomain domains = 1; // Continuation token for fetching the next page of results. string next_page_token = 2; @@ -666,7 +666,7 @@ message ListAuthorizedCertificatesRequest { // Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. message ListAuthorizedCertificatesResponse { // The SSL certificates the user is authorized to administer. - repeated AuthorizedCertificate certificates = 1; + repeated google.appengine.v1.AuthorizedCertificate certificates = 1; // Continuation token for fetching the next page of results. string next_page_token = 2; @@ -709,7 +709,7 @@ service Firewall { } // Creates a firewall rule for the application. - rpc CreateIngressRule(CreateIngressRuleRequest) returns (FirewallRule) { + rpc CreateIngressRule(CreateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { option (google.api.http) = { post: "/v1/{parent=apps/*}/firewall/ingressRules" body: "rule" @@ -717,14 +717,14 @@ service Firewall { } // Gets the specified firewall rule. - rpc GetIngressRule(GetIngressRuleRequest) returns (FirewallRule) { + rpc GetIngressRule(GetIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { option (google.api.http) = { get: "/v1/{name=apps/*/firewall/ingressRules/*}" }; } // Updates the specified firewall rule. - rpc UpdateIngressRule(UpdateIngressRuleRequest) returns (FirewallRule) { + rpc UpdateIngressRule(UpdateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { option (google.api.http) = { patch: "/v1/{name=apps/*/firewall/ingressRules/*}" body: "rule" @@ -755,7 +755,7 @@ message CreateAuthorizedCertificateRequest { string parent = 1; // SSL certificate data. - AuthorizedCertificate certificate = 2; + google.appengine.v1.AuthorizedCertificate certificate = 2; } // Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`. @@ -766,7 +766,7 @@ message UpdateAuthorizedCertificateRequest { // An `AuthorizedCertificate` containing the updated resource. Only fields set // in the field mask will be updated. - AuthorizedCertificate certificate = 2; + google.appengine.v1.AuthorizedCertificate certificate = 2; // Standard field mask for the set of fields to be updated. Updates are only // supported on the `certificate_raw_data` and `display_name` fields. @@ -795,7 +795,7 @@ message ListDomainMappingsRequest { // Response message for `DomainMappings.ListDomainMappings`. message ListDomainMappingsResponse { // The domain mappings for the application. - repeated DomainMapping domain_mappings = 1; + repeated google.appengine.v1.DomainMapping domain_mappings = 1; // Continuation token for fetching the next page of results. string next_page_token = 2; @@ -814,7 +814,7 @@ message CreateDomainMappingRequest { string parent = 1; // Domain mapping configuration. - DomainMapping domain_mapping = 2; + google.appengine.v1.DomainMapping domain_mapping = 2; // Whether the domain creation should override any existing mappings for this // domain. By default, overrides are rejected. @@ -847,7 +847,7 @@ message UpdateDomainMappingRequest { // A domain mapping containing the updated resource. Only fields set // in the field mask will be updated. - DomainMapping domain_mapping = 2; + google.appengine.v1.DomainMapping domain_mapping = 2; // Standard field mask for the set of fields to be updated. google.protobuf.FieldMask update_mask = 3; @@ -877,14 +877,14 @@ service AuthorizedCertificates { } // Gets the specified SSL certificate. - rpc GetAuthorizedCertificate(GetAuthorizedCertificateRequest) returns (AuthorizedCertificate) { + rpc GetAuthorizedCertificate(GetAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { get: "/v1/{name=apps/*/authorizedCertificates/*}" }; } // Uploads the specified SSL certificate. - rpc CreateAuthorizedCertificate(CreateAuthorizedCertificateRequest) returns (AuthorizedCertificate) { + rpc CreateAuthorizedCertificate(CreateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { post: "/v1/{parent=apps/*}/authorizedCertificates" body: "certificate" @@ -896,7 +896,7 @@ service AuthorizedCertificates { // certificate. The new certificate must be applicable to the same domains as // the original certificate. The certificate `display_name` may also be // updated. - rpc UpdateAuthorizedCertificate(UpdateAuthorizedCertificateRequest) returns (AuthorizedCertificate) { + rpc UpdateAuthorizedCertificate(UpdateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { patch: "/v1/{name=apps/*/authorizedCertificates/*}" body: "certificate" @@ -956,7 +956,7 @@ service DomainMappings { } // Gets the specified domain mapping. - rpc GetDomainMapping(GetDomainMappingRequest) returns (DomainMapping) { + rpc GetDomainMapping(GetDomainMappingRequest) returns (google.appengine.v1.DomainMapping) { option (google.api.http) = { get: "/v1/{name=apps/*/domainMappings/*}" }; diff --git a/third_party/googleapis/google/appengine/v1/appengine_grpc_service_config.json b/third_party/googleapis/google/appengine/v1/appengine_grpc_service_config.json new file mode 100644 index 000000000..03e4427b4 --- /dev/null +++ b/third_party/googleapis/google/appengine/v1/appengine_grpc_service_config.json @@ -0,0 +1,17 @@ +{ + "methodConfig": [{ + "name": [ + { "service": "google.appengine.v1.Applications" }, + { "service": "google.appengine.v1.Services" }, + { "service": "google.appengine.v1.Versions" }, + { "service": "google.appengine.v1.DeployedFiles" }, + { "service": "google.appengine.v1.Instances" }, + { "service": "google.appengine.v1.EmailSenders" }, + { "service": "google.appengine.v1.Firewall" }, + { "service": "google.appengine.v1.AuthorizedDomains" }, + { "service": "google.appengine.v1.AuthorizedCertificates" }, + { "service": "google.appengine.v1.DomainMappings" } + ], + "timeout": "60s" + }] +} diff --git a/third_party/googleapis/google/appengine/v1/appengine.yaml b/third_party/googleapis/google/appengine/v1/appengine_v1.yaml similarity index 57% rename from third_party/googleapis/google/appengine/v1/appengine.yaml rename to third_party/googleapis/google/appengine/v1/appengine_v1.yaml index c121ea57b..8bf777728 100644 --- a/third_party/googleapis/google/appengine/v1/appengine.yaml +++ b/third_party/googleapis/google/appengine/v1/appengine_v1.yaml @@ -1,7 +1,7 @@ type: google.api.Service config_version: 3 name: appengine.googleapis.com -title: App Engine Audit Data +title: App Engine Admin API apis: - name: google.appengine.v1.Applications @@ -12,22 +12,10 @@ apis: - name: google.appengine.v1.Instances - name: google.appengine.v1.Services - name: google.appengine.v1.Versions -- name: google.appengine.v1beta.Applications -- name: google.appengine.v1beta.AuthorizedCertificates -- name: google.appengine.v1beta.AuthorizedDomains -- name: google.appengine.v1beta.DomainMappings -- name: google.appengine.v1beta.Firewall -- name: google.appengine.v1beta.Instances -- name: google.appengine.v1beta.Services -- name: google.appengine.v1beta.Versions types: -- name: google.appengine.legacy.AuditData -- name: google.appengine.v1.AuditData - name: google.appengine.v1.LocationMetadata - name: google.appengine.v1.OperationMetadataV1 -- name: google.appengine.v1beta.AuditData -- name: google.appengine.v1beta.OperationMetadataV1Beta documentation: summary: Provisions and manages developers' App Engine applications. @@ -45,6 +33,12 @@ documentation: [Google App Engine Admin API Documentation](https://cloud.google.com/appengine/docs/admin-api/) + 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: @@ -60,39 +54,29 @@ backend: deadline: 30.0 - selector: 'google.appengine.v1.Instances.*' deadline: 30.0 + - selector: google.appengine.v1.Instances.ListInstances + deadline: 60.0 - selector: 'google.appengine.v1.Services.*' deadline: 30.0 - selector: 'google.appengine.v1.Versions.*' deadline: 30.0 - - selector: 'google.appengine.v1beta.Applications.*' - deadline: 30.0 - - selector: 'google.appengine.v1beta.AuthorizedCertificates.*' - deadline: 30.0 - - selector: google.appengine.v1beta.AuthorizedDomains.ListAuthorizedDomains - deadline: 30.0 - - selector: 'google.appengine.v1beta.DomainMappings.*' + - selector: google.cloud.location.Locations.GetLocation deadline: 30.0 - - selector: 'google.appengine.v1beta.Firewall.*' - deadline: 30.0 - - selector: 'google.appengine.v1beta.Instances.*' - deadline: 30.0 - - selector: 'google.appengine.v1beta.Services.*' - deadline: 30.0 - - selector: 'google.appengine.v1beta.Versions.*' + - selector: google.cloud.location.Locations.ListLocations deadline: 30.0 - selector: 'google.longrunning.Operations.*' deadline: 30.0 http: rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v1/{name=apps/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v1/{name=apps/*}/locations' - selector: google.longrunning.Operations.GetOperation get: '/v1/{name=apps/*/operations/*}' - additional_bindings: - - get: '/v1beta/{name=apps/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/v1/{name=apps/*}/operations' - additional_bindings: - - get: '/v1beta/{name=apps/*}/operations' authentication: rules: @@ -216,121 +200,13 @@ authentication: https://www.googleapis.com/auth/appengine.admin, https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only - - selector: 'google.appengine.v1beta.Applications.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Applications.GetApplication - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: 'google.appengine.v1beta.AuthorizedCertificates.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.AuthorizedCertificates.GetAuthorizedCertificate - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.AuthorizedCertificates.ListAuthorizedCertificates - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.AuthorizedDomains.ListAuthorizedDomains - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: 'google.appengine.v1beta.DomainMappings.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.DomainMappings.GetDomainMapping - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.DomainMappings.ListDomainMappings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: 'google.appengine.v1beta.Firewall.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Firewall.GetIngressRule - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Firewall.ListIngressRules - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Instances.DebugInstance - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Instances.DeleteInstance - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Instances.GetInstance - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Instances.ListInstances - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Services.DeleteService - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Services.GetService - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Services.ListServices - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/appengine.admin, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Services.UpdateService - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.appengine.v1beta.Versions.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.appengine.v1beta.Versions.GetVersion + - selector: google.cloud.location.Locations.GetLocation oauth: canonical_scopes: |- https://www.googleapis.com/auth/appengine.admin, https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.appengine.v1beta.Versions.ListVersions + - selector: google.cloud.location.Locations.ListLocations oauth: canonical_scopes: |- https://www.googleapis.com/auth/appengine.admin, diff --git a/third_party/googleapis/google/appengine/v1/application.proto b/third_party/googleapis/google/appengine/v1/application.proto index a8038abd0..ca4e6b0bc 100644 --- a/third_party/googleapis/google/appengine/v1/application.proto +++ b/third_party/googleapis/google/appengine/v1/application.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1/deploy.proto b/third_party/googleapis/google/appengine/v1/deploy.proto index a4f2816ec..4d9d2c169 100644 --- a/third_party/googleapis/google/appengine/v1/deploy.proto +++ b/third_party/googleapis/google/appengine/v1/deploy.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1/instance.proto b/third_party/googleapis/google/appengine/v1/instance.proto index ac0627fb6..d2f314f87 100644 --- a/third_party/googleapis/google/appengine/v1/instance.proto +++ b/third_party/googleapis/google/appengine/v1/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,8 @@ syntax = "proto3"; package google.appengine.v1; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; @@ -30,6 +32,45 @@ option ruby_package = "Google::Cloud::AppEngine::V1"; // An Instance resource is the computing unit that App Engine uses to // automatically scale an application. message Instance { + option (google.api.resource) = { + type: "appengine.googleapis.com/Instance" + pattern: "apps/{app}/services/{service}/versions/{version}/instances/{instance}" + }; + + // Wrapper for LivenessState enum. + message Liveness { + // Liveness health check status for Flex instances. + enum LivenessState { + // There is no liveness health check for the instance. Only applicable for + // instances in App Engine standard environment. + LIVENESS_STATE_UNSPECIFIED = 0; + + // The health checking system is aware of the instance but its health is + // not known at the moment. + UNKNOWN = 1; + + // 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. + HEALTHY = 2; + + // The instance is reachable, but does not conform to the requirements + // defined by the health check. + UNHEALTHY = 3; + + // The instance is being drained. The existing connections to the instance + // have time to complete, but the new ones are being refused. + DRAINING = 4; + + // 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. + TIMEOUT = 5; + } + + + } + // Availability of the instance. enum Availability { UNSPECIFIED = 0; @@ -39,91 +80,65 @@ message Instance { DYNAMIC = 2; } - // Full path to the Instance resource in the API. + // Output only. Full path to the Instance resource in the API. // Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. - // - // @OutputOnly - string name = 1; + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Relative name of the instance within the version. + // Output only. Relative name of the instance within the version. // Example: `instance-1`. - // - // @OutputOnly - string id = 2; + string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // App Engine release this instance is running on. - // - // @OutputOnly - string app_engine_release = 3; + // Output only. App Engine release this instance is running on. + string app_engine_release = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Availability of the instance. - // - // @OutputOnly - Availability availability = 4; + // Output only. Availability of the instance. + Availability availability = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Name of the virtual machine where this instance lives. Only applicable + // Output only. Name of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. - // - // @OutputOnly - string vm_name = 5; + string vm_name = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Zone where the virtual machine is located. Only applicable for instances + // Output only. Zone where the virtual machine is located. Only applicable for instances // in App Engine flexible environment. - // - // @OutputOnly - string vm_zone_name = 6; + string vm_zone_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Virtual machine ID of this instance. Only applicable for instances in + // Output only. Virtual machine ID of this instance. Only applicable for instances in // App Engine flexible environment. - // - // @OutputOnly - string vm_id = 7; + string vm_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Time that this instance was started. + // Output only. Time that this instance was started. // // @OutputOnly - google.protobuf.Timestamp start_time = 8; + google.protobuf.Timestamp start_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of requests since this instance was started. - // - // @OutputOnly - int32 requests = 9; + // Output only. Number of requests since this instance was started. + int32 requests = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of errors since this instance was started. - // - // @OutputOnly - int32 errors = 10; + // Output only. Number of errors since this instance was started. + int32 errors = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Average queries per second (QPS) over the last minute. - // - // @OutputOnly - float qps = 11; + // Output only. Average queries per second (QPS) over the last minute. + float qps = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Average latency (ms) over the last minute. - // - // @OutputOnly - int32 average_latency = 12; + // Output only. Average latency (ms) over the last minute. + int32 average_latency = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Total memory in use (bytes). - // - // @OutputOnly - int64 memory_usage = 13; + // Output only. Total memory in use (bytes). + int64 memory_usage = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Status of the virtual machine where this instance lives. Only applicable + // Output only. Status of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. - // - // @OutputOnly - string vm_status = 14; + string vm_status = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Whether this instance is in debug mode. Only applicable for instances in + // Output only. Whether this instance is in debug mode. Only applicable for instances in // App Engine flexible environment. - // - // @OutputOnly - bool vm_debug_enabled = 15; + bool vm_debug_enabled = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The IP address of this instance. Only applicable for instances in App + // Output only. The IP address of this instance. Only applicable for instances in App // Engine flexible environment. - // - // @OutputOnly - string vm_ip = 16; + string vm_ip = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The liveness health check of this instance. Only applicable for instances + // in App Engine flexible environment. + Liveness.LivenessState vm_liveness = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/appengine/v1/location.proto b/third_party/googleapis/google/appengine/v1/location.proto index 3b2bb9b51..f150188f1 100644 --- a/third_party/googleapis/google/appengine/v1/location.proto +++ b/third_party/googleapis/google/appengine/v1/location.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1; +import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; @@ -37,4 +38,8 @@ message LocationMetadata { // // @OutputOnly bool flexible_environment_available = 4; + + // Output only. [Search API](https://cloud.google.com/appengine/docs/standard/python/search) + // is available in the given location. + bool search_api_available = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/appengine/v1/network_settings.proto b/third_party/googleapis/google/appengine/v1/network_settings.proto index 904eab2a7..b6dab2126 100644 --- a/third_party/googleapis/google/appengine/v1/network_settings.proto +++ b/third_party/googleapis/google/appengine/v1/network_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -25,3 +25,25 @@ option java_outer_classname = "NetworkSettingsProto"; option java_package = "com.google.appengine.v1"; option php_namespace = "Google\\Cloud\\AppEngine\\V1"; option ruby_package = "Google::Cloud::AppEngine::V1"; + +// A NetworkSettings resource is a container for ingress settings for a version +// or service. +message NetworkSettings { + // If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. + enum IngressTrafficAllowed { + // Unspecified + INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED = 0; + + // Allow HTTP traffic from public and private sources. + INGRESS_TRAFFIC_ALLOWED_ALL = 1; + + // Allow HTTP traffic from only private VPC sources. + INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY = 2; + + // Allow HTTP traffic from private VPC sources and through load balancers. + INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB = 3; + } + + // The ingress settings for version or service. + IngressTrafficAllowed ingress_traffic_allowed = 1; +} diff --git a/third_party/googleapis/google/appengine/v1/operation.proto b/third_party/googleapis/google/appengine/v1/operation.proto index eeafaba47..a8d4f7cd0 100644 --- a/third_party/googleapis/google/appengine/v1/operation.proto +++ b/third_party/googleapis/google/appengine/v1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; diff --git a/third_party/googleapis/google/appengine/v1/service.proto b/third_party/googleapis/google/appengine/v1/service.proto index 0339da53a..7c03d835b 100644 --- a/third_party/googleapis/google/appengine/v1/service.proto +++ b/third_party/googleapis/google/appengine/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1; +import "google/appengine/v1/network_settings.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; @@ -49,6 +50,9 @@ message Service { // Mapping that defines fractional HTTP traffic diversion to // different versions within the service. TrafficSplit split = 3; + + // Ingress settings for this service. Will apply to all versions. + NetworkSettings network_settings = 6; } // Traffic routing configuration for versions within a single service. Traffic diff --git a/third_party/googleapis/google/appengine/v1/version.proto b/third_party/googleapis/google/appengine/v1/version.proto index bd7515c23..4f253b02b 100644 --- a/third_party/googleapis/google/appengine/v1/version.proto +++ b/third_party/googleapis/google/appengine/v1/version.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -18,6 +18,7 @@ package google.appengine.v1; import "google/appengine/v1/app_yaml.proto"; import "google/appengine/v1/deploy.proto"; +import "google/appengine/v1/network_settings.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; @@ -44,12 +45,13 @@ message Version { // Reserved names: "default", "latest", and any name with the prefix "ah-". string id = 2; - // Controls how instances are created. + // Controls how instances are created, scaled, and reaped. // // Defaults to `AutomaticScaling`. oneof scaling { // Automatic scaling is based on request rate, response latencies, and other - // application metrics. + // application metrics. Instances are dynamically created and destroyed as + // needed in order to handle traffic. AutomaticScaling automatic_scaling = 3; // A service with basic scaling will create an instance when the application @@ -60,6 +62,7 @@ message Version { // A service with manual scaling runs continuously, allowing you to perform // complex initialization and rely on the state of its memory over time. + // Manually scaled versions are sometimes referred to as "backends". ManualScaling manual_scaling = 5; } @@ -140,6 +143,11 @@ message Version { // The path or name of the app's main executable. string runtime_main_executable_path = 22; + // The identity that the deployed version will run as. + // Admin API will use the App Engine Appspot service account as default if + // this field is neither provided in app.yaml file nor through CLI flag. + string service_account = 127; + // An ordered list of URL-matching patterns that should be applied to incoming // requests. The first matching URL handles the request and other request // handlers are not attempted. @@ -169,6 +177,11 @@ message Version { // Only returned in `GET` requests if `view=FULL` is set. map env_variables = 104; + // Environment variables available to the build environment. + // + // Only returned in `GET` requests if `view=FULL` is set. + map build_env_variables = 125; + // Duration that static files should be cached by web proxies and browsers. // Only applicable if the corresponding // [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) @@ -492,6 +505,10 @@ message Resources { // User specified volumes. repeated Volume volumes = 4; + + // The name of the encryption key that is stored in Google Cloud KMS. + // Only should be used by Cloud Composer to encrypt the vm disk + string kms_key_reference = 5; } // VPC access connector specification. @@ -501,6 +518,15 @@ message VpcAccessConnector { string name = 1; } +// The entrypoint for the application. +message Entrypoint { + // The command to run. + oneof command { + // The format should be a shell command that can be fed to `bash -c`. + string shell = 1; + } +} + // Available inbound services. enum InboundServiceType { // Not specified. @@ -546,12 +572,3 @@ enum ServingStatus { // to `SERVING`. STOPPED = 2; } - -// The entrypoint for the application. -message Entrypoint { - // The command to run. - oneof command { - // The format should be a shell command that can be fed to `bash -c`. - string shell = 1; - } -} diff --git a/third_party/googleapis/google/appengine/v1beta/BUILD.bazel b/third_party/googleapis/google/appengine/v1beta/BUILD.bazel index d6590e516..07ba196d8 100644 --- a/third_party/googleapis/google/appengine/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/appengine/v1beta/BUILD.bazel @@ -17,7 +17,6 @@ proto_library( "audit_data.proto", "certificate.proto", "deploy.proto", - "deployed_files.proto", "domain.proto", "domain_mapping.proto", "firewall.proto", @@ -31,6 +30,8 @@ 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//:empty_proto", @@ -94,6 +95,8 @@ moved_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//:empty_proto", @@ -116,11 +119,12 @@ py_grpc_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/appengine/v1beta/app_yaml.proto b/third_party/googleapis/google/appengine/v1beta/app_yaml.proto index 6b8ecce72..d4cb4458f 100644 --- a/third_party/googleapis/google/appengine/v1beta/app_yaml.proto +++ b/third_party/googleapis/google/appengine/v1beta/app_yaml.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/appengine.proto b/third_party/googleapis/google/appengine/v1beta/appengine.proto index 56fe88730..9b26daba7 100644 --- a/third_party/googleapis/google/appengine/v1beta/appengine.proto +++ b/third_party/googleapis/google/appengine/v1beta/appengine.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/application.proto b/third_party/googleapis/google/appengine/v1beta/application.proto index 664fd7adc..34cb1e413 100644 --- a/third_party/googleapis/google/appengine/v1beta/application.proto +++ b/third_party/googleapis/google/appengine/v1beta/application.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/certificate.proto b/third_party/googleapis/google/appengine/v1beta/certificate.proto index f1ca1248b..9cb25399b 100644 --- a/third_party/googleapis/google/appengine/v1beta/certificate.proto +++ b/third_party/googleapis/google/appengine/v1beta/certificate.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/deploy.proto b/third_party/googleapis/google/appengine/v1beta/deploy.proto index 54cd57d4d..09f6b19f9 100644 --- a/third_party/googleapis/google/appengine/v1beta/deploy.proto +++ b/third_party/googleapis/google/appengine/v1beta/deploy.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/domain.proto b/third_party/googleapis/google/appengine/v1beta/domain.proto index 9b726f083..dd434ba06 100644 --- a/third_party/googleapis/google/appengine/v1beta/domain.proto +++ b/third_party/googleapis/google/appengine/v1beta/domain.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/domain_mapping.proto b/third_party/googleapis/google/appengine/v1beta/domain_mapping.proto index e5c2e3cee..f2527129d 100644 --- a/third_party/googleapis/google/appengine/v1beta/domain_mapping.proto +++ b/third_party/googleapis/google/appengine/v1beta/domain_mapping.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/firewall.proto b/third_party/googleapis/google/appengine/v1beta/firewall.proto index eaabc9613..95b43aae8 100644 --- a/third_party/googleapis/google/appengine/v1beta/firewall.proto +++ b/third_party/googleapis/google/appengine/v1beta/firewall.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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/appengine/v1beta/instance.proto b/third_party/googleapis/google/appengine/v1beta/instance.proto index 3f9402c65..d9e7154f0 100644 --- a/third_party/googleapis/google/appengine/v1beta/instance.proto +++ b/third_party/googleapis/google/appengine/v1beta/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,8 @@ syntax = "proto3"; package google.appengine.v1beta; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; @@ -30,6 +32,45 @@ option ruby_package = "Google::Cloud::AppEngine::V1beta"; // An Instance resource is the computing unit that App Engine uses to // automatically scale an application. message Instance { + option (google.api.resource) = { + type: "appengine.googleapis.com/Instance" + pattern: "apps/{app}/services/{service}/versions/{version}/instances/{instance}" + }; + + // Wrapper for LivenessState enum. + message Liveness { + // Liveness health check status for Flex instances. + enum LivenessState { + // There is no liveness health check for the instance. Only applicable for + // instances in App Engine standard environment. + LIVENESS_STATE_UNSPECIFIED = 0; + + // The health checking system is aware of the instance but its health is + // not known at the moment. + UNKNOWN = 1; + + // 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. + HEALTHY = 2; + + // The instance is reachable, but does not conform to the requirements + // defined by the health check. + UNHEALTHY = 3; + + // The instance is being drained. The existing connections to the instance + // have time to complete, but the new ones are being refused. + DRAINING = 4; + + // 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. + TIMEOUT = 5; + } + + + } + // Availability of the instance. enum Availability { UNSPECIFIED = 0; @@ -39,91 +80,65 @@ message Instance { DYNAMIC = 2; } - // Full path to the Instance resource in the API. + // Output only. Full path to the Instance resource in the API. // Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. - // - // @OutputOnly - string name = 1; + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Relative name of the instance within the version. + // Output only. Relative name of the instance within the version. // Example: `instance-1`. - // - // @OutputOnly - string id = 2; + string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // App Engine release this instance is running on. - // - // @OutputOnly - string app_engine_release = 3; + // Output only. App Engine release this instance is running on. + string app_engine_release = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Availability of the instance. - // - // @OutputOnly - Availability availability = 4; + // Output only. Availability of the instance. + Availability availability = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Name of the virtual machine where this instance lives. Only applicable + // Output only. Name of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. - // - // @OutputOnly - string vm_name = 5; + string vm_name = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Zone where the virtual machine is located. Only applicable for instances + // Output only. Zone where the virtual machine is located. Only applicable for instances // in App Engine flexible environment. - // - // @OutputOnly - string vm_zone_name = 6; + string vm_zone_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Virtual machine ID of this instance. Only applicable for instances in + // Output only. Virtual machine ID of this instance. Only applicable for instances in // App Engine flexible environment. - // - // @OutputOnly - string vm_id = 7; + string vm_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Time that this instance was started. + // Output only. Time that this instance was started. // // @OutputOnly - google.protobuf.Timestamp start_time = 8; + google.protobuf.Timestamp start_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of requests since this instance was started. - // - // @OutputOnly - int32 requests = 9; + // Output only. Number of requests since this instance was started. + int32 requests = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Number of errors since this instance was started. - // - // @OutputOnly - int32 errors = 10; + // Output only. Number of errors since this instance was started. + int32 errors = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Average queries per second (QPS) over the last minute. - // - // @OutputOnly - float qps = 11; + // Output only. Average queries per second (QPS) over the last minute. + float qps = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Average latency (ms) over the last minute. - // - // @OutputOnly - int32 average_latency = 12; + // Output only. Average latency (ms) over the last minute. + int32 average_latency = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Total memory in use (bytes). - // - // @OutputOnly - int64 memory_usage = 13; + // Output only. Total memory in use (bytes). + int64 memory_usage = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Status of the virtual machine where this instance lives. Only applicable + // Output only. Status of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. - // - // @OutputOnly - string vm_status = 14; + string vm_status = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Whether this instance is in debug mode. Only applicable for instances in + // Output only. Whether this instance is in debug mode. Only applicable for instances in // App Engine flexible environment. - // - // @OutputOnly - bool vm_debug_enabled = 15; + bool vm_debug_enabled = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The IP address of this instance. Only applicable for instances in App + // Output only. The IP address of this instance. Only applicable for instances in App // Engine flexible environment. - // - // @OutputOnly - string vm_ip = 16; + string vm_ip = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The liveness health check of this instance. Only applicable for instances + // in App Engine flexible environment. + Liveness.LivenessState vm_liveness = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/appengine/v1beta/location.proto b/third_party/googleapis/google/appengine/v1beta/location.proto index 211cae5f0..d708c2614 100644 --- a/third_party/googleapis/google/appengine/v1beta/location.proto +++ b/third_party/googleapis/google/appengine/v1beta/location.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1beta; +import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1Beta"; @@ -25,3 +26,20 @@ option java_outer_classname = "LocationProto"; option java_package = "com.google.appengine.v1beta"; option php_namespace = "Google\\Cloud\\AppEngine\\V1beta"; option ruby_package = "Google::Cloud::AppEngine::V1beta"; + +// Metadata for the given [google.cloud.location.Location][google.cloud.location.Location]. +message LocationMetadata { + // App Engine standard environment is available in the given location. + // + // @OutputOnly + bool standard_environment_available = 2; + + // App Engine flexible environment is available in the given location. + // + // @OutputOnly + bool flexible_environment_available = 4; + + // Output only. [Search API](https://cloud.google.com/appengine/docs/standard/python/search) + // is available in the given location. + bool search_api_available = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/third_party/googleapis/google/appengine/v1beta/network_settings.proto b/third_party/googleapis/google/appengine/v1beta/network_settings.proto index f5d52e2b2..3bc42ae92 100644 --- a/third_party/googleapis/google/appengine/v1beta/network_settings.proto +++ b/third_party/googleapis/google/appengine/v1beta/network_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -25,3 +25,25 @@ option java_outer_classname = "NetworkSettingsProto"; option java_package = "com.google.appengine.v1beta"; option php_namespace = "Google\\Cloud\\AppEngine\\V1beta"; option ruby_package = "Google::Cloud::AppEngine::V1beta"; + +// A NetworkSettings resource is a container for ingress settings for a version +// or service. +message NetworkSettings { + // If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. + enum IngressTrafficAllowed { + // Unspecified + INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED = 0; + + // Allow HTTP traffic from public and private sources. + INGRESS_TRAFFIC_ALLOWED_ALL = 1; + + // Allow HTTP traffic from only private VPC sources. + INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY = 2; + + // Allow HTTP traffic from private VPC sources and through load balancers. + INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB = 3; + } + + // The ingress settings for version or service. + IngressTrafficAllowed ingress_traffic_allowed = 1; +} diff --git a/third_party/googleapis/google/appengine/v1beta/operation.proto b/third_party/googleapis/google/appengine/v1beta/operation.proto index 09a854e54..3e9422fa9 100644 --- a/third_party/googleapis/google/appengine/v1beta/operation.proto +++ b/third_party/googleapis/google/appengine/v1beta/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1beta; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; diff --git a/third_party/googleapis/google/appengine/v1beta/service.proto b/third_party/googleapis/google/appengine/v1beta/service.proto index 57b6461be..1e65409ae 100644 --- a/third_party/googleapis/google/appengine/v1beta/service.proto +++ b/third_party/googleapis/google/appengine/v1beta/service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.appengine.v1beta; +import "google/appengine/v1beta/network_settings.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1Beta"; @@ -49,6 +50,9 @@ message Service { // Mapping that defines fractional HTTP traffic diversion to // different versions within the service. TrafficSplit split = 3; + + // Ingress settings for this service. Will apply to all versions. + NetworkSettings network_settings = 6; } // Traffic routing configuration for versions within a single service. Traffic diff --git a/third_party/googleapis/google/appengine/v1beta/version.proto b/third_party/googleapis/google/appengine/v1beta/version.proto index 08bc8507d..39f93b98d 100644 --- a/third_party/googleapis/google/appengine/v1beta/version.proto +++ b/third_party/googleapis/google/appengine/v1beta/version.proto @@ -1,4 +1,4 @@ -// Copyright 2020 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. @@ -18,6 +18,7 @@ package google.appengine.v1beta; import "google/appengine/v1beta/app_yaml.proto"; import "google/appengine/v1beta/deploy.proto"; +import "google/appengine/v1beta/network_settings.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; @@ -44,12 +45,13 @@ message Version { // Reserved names: "default", "latest", and any name with the prefix "ah-". string id = 2; - // Controls how instances are created. + // Controls how instances are created, scaled, and reaped. // // Defaults to `AutomaticScaling`. oneof scaling { // Automatic scaling is based on request rate, response latencies, and other - // application metrics. + // application metrics. Instances are dynamically created and destroyed as + // needed in order to handle traffic. AutomaticScaling automatic_scaling = 3; // A service with basic scaling will create an instance when the application @@ -60,6 +62,7 @@ message Version { // A service with manual scaling runs continuously, allowing you to perform // complex initialization and rely on the state of its memory over time. + // Manually scaled versions are sometimes referred to as "backends". ManualScaling manual_scaling = 5; } @@ -101,6 +104,10 @@ message Version { // Whether to deploy this version in a container on a virtual machine. bool vm = 12; + // app_engine_apis allows second generation runtimes to access the + // App Engine APIs. + bool app_engine_apis = 128; + // Metadata settings that are supplied to this version to enable // beta runtime features. map beta_settings = 13; @@ -140,6 +147,11 @@ message Version { // The path or name of the app's main executable. string runtime_main_executable_path = 22; + // The identity that the deployed version will run as. + // Admin API will use the App Engine Appspot service account as default if + // this field is neither provided in app.yaml file nor through CLI flag. + string service_account = 127; + // An ordered list of URL-matching patterns that should be applied to incoming // requests. The first matching URL handles the request and other request // handlers are not attempted. @@ -169,6 +181,11 @@ message Version { // Only returned in `GET` requests if `view=FULL` is set. map env_variables = 104; + // Environment variables available to the build environment. + // + // Only returned in `GET` requests if `view=FULL` is set. + map build_env_variables = 125; + // Duration that static files should be cached by web proxies and browsers. // Only applicable if the corresponding // [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StaticFilesHandler) @@ -522,6 +539,26 @@ message Resources { // User specified volumes. repeated Volume volumes = 4; + + // The name of the encryption key that is stored in Google Cloud KMS. + // Only should be used by Cloud Composer to encrypt the vm disk + string kms_key_reference = 5; +} + +// VPC access connector specification. +message VpcAccessConnector { + // Full Serverless VPC Access Connector name e.g. + // /projects/my-project/locations/us-central1/connectors/c1. + string name = 1; +} + +// The entrypoint for the application. +message Entrypoint { + // The command to run. + oneof command { + // The format should be a shell command that can be fed to `bash -c`. + string shell = 1; + } } // Available inbound services. @@ -569,19 +606,3 @@ enum ServingStatus { // to `SERVING`. STOPPED = 2; } - -// VPC access connector specification. -message VpcAccessConnector { - // Full Serverless VPC Access Connector name e.g. - // /projects/my-project/locations/us-central1/connectors/c1. - string name = 1; -} - -// The entrypoint for the application. -message Entrypoint { - // The command to run. - oneof command { - // The format should be a shell command that can be fed to `bash -c`. - string shell = 1; - } -} diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel b/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel new file mode 100644 index 000000000..d5d53b56b --- /dev/null +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel @@ -0,0 +1,336 @@ +# 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", "proto_library_with_info") + +proto_library( + name = "alertcenter_proto", + srcs = [ + "alertcenter.proto", + ], + deps = [ + "//google/api:annotations_proto", + "//google/api:client_proto", + "//google/api:field_behavior_proto", + "//google/rpc:status_proto", + "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +proto_library_with_info( + name = "alertcenter_proto_with_info", + deps = [ + ":alertcenter_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 = "alertcenter_java_proto", + deps = [":alertcenter_proto"], +) + +java_grpc_library( + name = "alertcenter_java_grpc", + srcs = [":alertcenter_proto"], + deps = [":alertcenter_java_proto"], +) + +java_gapic_library( + name = "alertcenter_java_gapic", + srcs = [":alertcenter_proto_with_info"], + grpc_service_config = "alertcenter_grpc_service_config.json", + test_deps = [ + ":alertcenter_java_grpc", + ], + deps = [ + ":alertcenter_java_proto", + ], +) + +java_gapic_test( + name = "alertcenter_java_gapic_test_suite", + test_classes = [ + "com.google.apps.alertcenter.v1beta1.AlertCenterServiceClientTest", + ], + runtime_deps = [":alertcenter_java_gapic_test"], +) + +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-apps-alertcenter-v1beta1-java", + deps = [ + ":alertcenter_java_gapic", + ":alertcenter_java_grpc", + ":alertcenter_java_proto", + ":alertcenter_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 = "alertcenter_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1", + protos = [":alertcenter_proto"], + deps = [ + "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", + ], +) + +go_gapic_library( + name = "alertcenter_go_gapic", + srcs = [":alertcenter_proto_with_info"], + grpc_service_config = "alertcenter_grpc_service_config.json", + importpath = "google.golang.org/google/apps/alertcenter/v1beta1;alertcenter", + service_yaml = "alertcenter.yaml", + metadata = True, + 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-test.srcjar", + ":alertcenter_go_gapic_srcjar-metadata.srcjar", + ":alertcenter_go_proto", + ], +) + +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", +) + +py_gapic_library( + name = "alertcenter_py_gapic", + srcs = [":alertcenter_proto"], + grpc_service_config = "alertcenter_grpc_service_config.json", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "apps-alertcenter-v1beta1-py", + deps = [ + ":alertcenter_py_gapic", + ], +) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", +) + +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", + service_yaml = "alertcenter.yaml", + deps = [ + ":alertcenter_php_grpc", + ":alertcenter_php_proto", + ], +) + +# Open Source Packages +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", + src = ":alertcenter_proto_with_info", + extra_protoc_parameters = ["metadata"], + grpc_service_config = "alertcenter_grpc_service_config.json", + package = "google.apps.alertcenter.v1beta1", + service_yaml = "alertcenter.yaml", + deps = [], +) + +nodejs_gapic_assembly_pkg( + name = "apps-alertcenter-v1beta1-nodejs", + deps = [ + ":alertcenter_nodejs_gapic", + ":alertcenter_proto", + ], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_gapic_assembly_pkg", + "ruby_cloud_gapic_library", + "ruby_grpc_library", + "ruby_proto_library", +) + +ruby_proto_library( + name = "alertcenter_ruby_proto", + deps = [":alertcenter_proto"], +) + +ruby_grpc_library( + name = "alertcenter_ruby_grpc", + srcs = [":alertcenter_proto"], + deps = [":alertcenter_ruby_proto"], +) + +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", + ], + grpc_service_config = "alertcenter_grpc_service_config.json", + deps = [ + ":alertcenter_ruby_grpc", + ":alertcenter_ruby_proto", + ], +) + +# Open Source Packages +ruby_gapic_assembly_pkg( + name = "google-cloud-apps-alertcenter-v1beta1-ruby", + deps = [ + ":alertcenter_ruby_gapic", + ":alertcenter_ruby_grpc", + ":alertcenter_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 = "alertcenter_csharp_proto", + deps = [":alertcenter_proto"], +) + +csharp_grpc_library( + name = "alertcenter_csharp_grpc", + srcs = [":alertcenter_proto"], + deps = [":alertcenter_csharp_proto"], +) + +csharp_gapic_library( + name = "alertcenter_csharp_gapic", + srcs = [":alertcenter_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "alertcenter_grpc_service_config.json", + deps = [ + ":alertcenter_csharp_grpc", + ":alertcenter_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-apps-alertcenter-v1beta1-csharp", + deps = [ + ":alertcenter_csharp_gapic", + ":alertcenter_csharp_grpc", + ":alertcenter_csharp_proto", + ], +) + +############################################################################## +# C++ +############################################################################## +# Put your C++ rules here diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto new file mode 100644 index 000000000..7557e59c5 --- /dev/null +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto @@ -0,0 +1,516 @@ +// 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.apps.alertcenter.v1beta1; + +import "google/api/annotations.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"; +option java_multiple_files = true; +option java_outer_classname = "AlertCenterProto"; +option java_package = "com.google.apps.alertcenter.v1beta1"; +option objc_class_prefix = "GAIC"; +option php_namespace = "Google\\Apps\\AlertCenter\\V1beta1"; +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"; + + // Lists the alerts. + rpc ListAlerts(ListAlertsRequest) returns (ListAlertsResponse) { + option (google.api.http) = { + get: "/v1beta1/alerts" + }; + } + + // Gets the specified alert. Attempting to get a nonexistent alert returns + // `NOT_FOUND` error. + rpc GetAlert(GetAlertRequest) returns (Alert) { + option (google.api.http) = { + get: "/v1beta1/alerts/{alert_id}" + }; + } + + // Marks the specified alert for deletion. An alert that has been marked for + // deletion is removed from Alert Center after 30 days. + // Marking an alert for deletion has no effect on an alert which has + // already been marked for deletion. Attempting to mark a nonexistent alert + // for deletion results in a `NOT_FOUND` error. + rpc DeleteAlert(DeleteAlertRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/alerts/{alert_id}" + }; + } + + // Restores, or "undeletes", an alert that was marked for deletion within the + // past 30 days. Attempting to undelete an alert which was marked for deletion + // over 30 days ago (which has been removed from the Alert Center database) or + // a nonexistent alert returns a `NOT_FOUND` error. Attempting to + // undelete an alert which has not been marked for deletion has no effect. + rpc UndeleteAlert(UndeleteAlertRequest) returns (Alert) { + option (google.api.http) = { + post: "/v1beta1/alerts/{alert_id}:undelete" + body: "*" + }; + } + + // Creates new feedback for an alert. Attempting to create a feedback for + // a non-existent alert returns `NOT_FOUND` error. Attempting to create a + // feedback for an alert that is marked for deletion returns + // `FAILED_PRECONDITION' error. + rpc CreateAlertFeedback(CreateAlertFeedbackRequest) returns (AlertFeedback) { + option (google.api.http) = { + post: "/v1beta1/alerts/{alert_id}/feedback" + body: "feedback" + }; + } + + // 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) { + option (google.api.http) = { + get: "/v1beta1/alerts/{alert_id}/feedback" + }; + } + + // Returns the metadata of an alert. Attempting to get metadata for + // a non-existent alert returns `NOT_FOUND` error. + rpc GetAlertMetadata(GetAlertMetadataRequest) returns (AlertMetadata) { + option (google.api.http) = { + get: "/v1beta1/alerts/{alert_id}/metadata" + }; + } + + // Returns customer-level settings. + rpc GetSettings(GetSettingsRequest) returns (Settings) { + option (google.api.http) = { + get: "/v1beta1/settings" + }; + } + + // Updates the customer-level settings. + rpc UpdateSettings(UpdateSettingsRequest) returns (Settings) { + option (google.api.http) = { + patch: "/v1beta1/settings" + body: "settings" + }; + } + + // Performs batch delete operation on alerts. + rpc BatchDeleteAlerts(BatchDeleteAlertsRequest) returns (BatchDeleteAlertsResponse) { + option (google.api.http) = { + post: "/v1beta1/alerts:batchDelete" + body: "*" + }; + } + + // Performs batch undelete operation on alerts. + rpc BatchUndeleteAlerts(BatchUndeleteAlertsRequest) returns (BatchUndeleteAlertsResponse) { + option (google.api.http) = { + post: "/v1beta1/alerts:batchUndelete" + body: "*" + }; + } +} + +// An alert affecting a customer. +message Alert { + // Output only. The unique identifier of the Google account of the customer. + string customer_id = 1; + + // Output only. The unique identifier for the alert. + string alert_id = 2; + + // Output only. The time this alert was created. + google.protobuf.Timestamp create_time = 3; + + // Required. The time the event that caused this alert was started or + // detected. + google.protobuf.Timestamp start_time = 4; + + // Optional. The time the event that caused this alert ceased being active. + // If provided, the end time must not be earlier than the start time. + // If not provided, it indicates an ongoing alert. + google.protobuf.Timestamp end_time = 5; + + // Required. The type of the alert. + // This is output only after alert is created. + // For a list of available alert types see + // [Google Workspace Alert + // types](https://developers.google.com/admin-sdk/alertcenter/reference/alert-types). + string type = 6; + + // Required. A unique identifier for the system that reported the alert. + // This is output only after alert is created. + // + // Supported sources are any of the following: + // + // * Google Operations + // * Mobile device management + // * Gmail phishing + // * Domain wide takeout + // * State sponsored attack + // * Google identity + string source = 7; + + // Optional. The data associated with this alert, for example + // [google.apps.alertcenter.type.DeviceCompromised] [google.apps.alertcenter.type.DeviceCompromised]. + google.protobuf.Any data = 8; + + // Output only. An optional + // [Security Investigation Tool](https://support.google.com/a/answer/7575955) + // query for this alert. + string security_investigation_tool_link = 9; + + // Output only. `True` if this alert is marked for deletion. + bool deleted = 11; + + // Output only. The metadata associated with this alert. + AlertMetadata metadata = 12; + + // 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. + // 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, + // and systems are expected to put that etag in the request to update alert to + // ensure that their change will be applied to the same version of the alert. + // + // If no `etag` is provided in the call to update alert, then the existing + // alert is overwritten blindly. + string etag = 14; +} + +// A customer feedback about an alert. +message AlertFeedback { + // Output only. The unique identifier of the Google account of the customer. + string customer_id = 1; + + // Output only. The alert identifier. + string alert_id = 2; + + // Output only. The unique identifier for the feedback. + string feedback_id = 3; + + // Output only. The time this feedback was created. + google.protobuf.Timestamp create_time = 4; + + // Required. The type of the feedback. + AlertFeedbackType type = 5; + + // Output only. The email of the user that provided the feedback. + string email = 6; +} + +// An alert metadata. +message AlertMetadata { + // Output only. The unique identifier of the Google account of the customer. + string customer_id = 1; + + // Output only. The alert identifier. + string alert_id = 2; + + // The current status of the alert. + // The supported values are the following: + // + // * NOT_STARTED + // * IN_PROGRESS + // * CLOSED + string status = 4; + + // The email address of the user assigned to the alert. + string assignee = 5; + + // Output only. The time this metadata was last updated. + google.protobuf.Timestamp update_time = 6; + + // The severity value of the alert. Alert Center will set this field at alert + // creation time, default's to an empty string when it could not be + // determined. + // The supported values for update actions on this field are the following: + // + // * HIGH + // * MEDIUM + // * LOW + string severity = 7; + + // 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 + // 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 + // same version of the alert metadata. + // + // If no `etag` is provided in the call to update alert metadata, then the + // existing alert metadata is overwritten blindly. + string etag = 8; +} + +// 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 { + // A reference to a Cloud Pubsub topic. + // + // To register for notifications, the owner of the topic must grant + // `alerts-api-push-notifications@system.gserviceaccount.com` the + // `projects.topics.publish` permission. + message CloudPubsubTopic { + // The `name` field of a Cloud Pubsub [Topic] + // (https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic). + string topic_name = 1; + + // Optional. The format of the payload that would be sent. + // If not specified the format will be JSON. + 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. + CloudPubsubTopic cloud_pubsub_topic = 1; + } + } + + // The list of notifications. + repeated Notification notifications = 1; +} + +// 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. + string customer_id = 1; + + // Required. list of alert IDs. + repeated string alert_id = 2; +} + +// Response to batch delete operation on alerts. +message BatchDeleteAlertsResponse { + // The successful list of alert IDs. + repeated string success_alert_ids = 1; + + // 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. + string customer_id = 1; + + // Required. list of alert IDs. + repeated string alert_id = 2; +} + +// Response to batch undelete operation on alerts. +message BatchUndeleteAlertsResponse { + // The successful list of alert IDs. + repeated string success_alert_ids = 1; + + // 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. + string customer_id = 1; + + // Optional. The requested page size. Server may return fewer items than + // requested. If unspecified, server picks an appropriate default. + int32 page_size = 2; + + // 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. + 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 + // fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list). + string filter = 4; + + // Optional. The sort order of the list results. + // If not specified results may be returned in arbitrary order. + // You can sort the results in descending order based on the creation + // timestamp using `order_by="create_time desc"`. + // Currently, supported sorting are `create_time asc`, `create_time desc`, + // `update_time desc` + string order_by = 5; +} + +// Response message for an alert listing request. +message ListAlertsResponse { + // The list of alerts. + repeated Alert alerts = 1; + + // 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. + 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. + string customer_id = 1; + + // Required. The identifier of the alert to retrieve. + string alert_id = 2; +} + +// 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. + string customer_id = 1; + + // Required. The identifier of the alert to delete. + string alert_id = 2; +} + +// 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. + string customer_id = 1; + + // Required. The identifier of the alert to undelete. + string alert_id = 2; +} + +// 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. + string customer_id = 1; + + // Required. The identifier of the alert this feedback belongs to. + string alert_id = 2; + + // Required. The new alert feedback to create. + AlertFeedback feedback = 3; +} + +// 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. + string customer_id = 1; + + // Required. The alert identifier. + // The "-" wildcard could be used to represent all alerts. + string alert_id = 2; + + // 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 + // fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list). + string filter = 3; +} + +// Response message for an alert feedback listing request. +message ListAlertFeedbackResponse { + // The list of alert feedback. + // Feedback entries for each alert are ordered by creation time descending. + repeated AlertFeedback feedback = 1; +} + +// 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. + string customer_id = 1; + + // Required. The identifier of the alert this metadata belongs to. + string alert_id = 2; +} + +// 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. + 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. + string customer_id = 1; + + // The customer settings to update. + Settings settings = 2; +} diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml new file mode 100644 index 000000000..2d361a628 --- /dev/null +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml @@ -0,0 +1,17 @@ +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/alertcenter/v1beta1/alertcenter_grpc_service_config.json b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter_grpc_service_config.json new file mode 100644 index 000000000..83f7666d7 --- /dev/null +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter_grpc_service_config.json @@ -0,0 +1,8 @@ +{ + "methodConfig": [{ + "name": [ + { "service": "google.apps.alertcenter.v1beta1.AlertCenterService" } + ], + "timeout": "60s" + }] +} 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 c323aaff4..3fad496b1 100644 --- a/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel +++ b/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel @@ -174,13 +174,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -196,11 +197,8 @@ php_grpc_library( php_gapic_library( name = "activity_php_gapic", - src = ":activity_proto_with_info", - gapic_yaml = "driveactivity_gapic.yaml", + srcs = [":activity_proto_with_info"], grpc_service_config = "driveactivity_grpc_service_config.json", - package = "google.apps.drive.activity.v2", - service_yaml = "driveactivity_v2.yaml", deps = [ ":activity_php_grpc", ":activity_php_proto", diff --git a/third_party/googleapis/google/apps/drive/activity/v2/driveactivity_gapic.yaml b/third_party/googleapis/google/apps/drive/activity/v2/driveactivity_gapic.yaml deleted file mode 100644 index 3924cad69..000000000 --- a/third_party/googleapis/google/apps/drive/activity/v2/driveactivity_gapic.yaml +++ /dev/null @@ -1,5 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - php: - package_name: Google\Apps\Drive\Activity\V2 diff --git a/third_party/googleapis/google/apps/market/v2/BUILD.bazel b/third_party/googleapis/google/apps/market/v2/BUILD.bazel index a477dbb14..5fdc1b4d1 100644 --- a/third_party/googleapis/google/apps/market/v2/BUILD.bazel +++ b/third_party/googleapis/google/apps/market/v2/BUILD.bazel @@ -120,8 +120,8 @@ go_gapic_library( srcs = [":marketplace_proto_with_info"], grpc_service_config = "service_grpc_service_config.json", importpath = "google.golang.org/ccc/hosted/marketplace/v2;marketplace", - service_yaml = "appsmarket_v2.yaml", metadata = True, + service_yaml = "appsmarket_v2.yaml", deps = [ ":marketplace_go_proto", ], @@ -139,8 +139,8 @@ go_gapic_assembly_pkg( name = "gapi-cloud-hosted-marketplace-v2-go", deps = [ ":marketplace_go_gapic", - ":marketplace_go_gapic_srcjar-test.srcjar", ":marketplace_go_gapic_srcjar-metadata.srcjar", + ":marketplace_go_gapic_srcjar-test.srcjar", ":marketplace_go_proto", ], ) @@ -170,13 +170,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -192,11 +193,8 @@ php_grpc_library( php_gapic_library( name = "marketplace_php_gapic", - src = ":marketplace_proto_with_info", - gapic_yaml = "appsmarket_gapic.yaml", + srcs = [":marketplace_proto_with_info"], grpc_service_config = "service_grpc_service_config.json", - package = "ccc.hosted.marketplace.v2", - service_yaml = "appsmarket_v2.yaml", deps = [ ":marketplace_php_grpc", ":marketplace_php_proto", @@ -246,8 +244,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) diff --git a/third_party/googleapis/google/apps/market/v2/appsmarket_gapic.yaml b/third_party/googleapis/google/apps/market/v2/appsmarket_gapic.yaml deleted file mode 100644 index a859c37be..000000000 --- a/third_party/googleapis/google/apps/market/v2/appsmarket_gapic.yaml +++ /dev/null @@ -1,5 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - php: - package_name: Google\Apps\Market\V2 diff --git a/third_party/googleapis/google/apps/market/v2/resources.proto b/third_party/googleapis/google/apps/market/v2/resources.proto index 09993bbbd..c133d4858 100644 --- a/third_party/googleapis/google/apps/market/v2/resources.proto +++ b/third_party/googleapis/google/apps/market/v2/resources.proto @@ -22,6 +22,7 @@ option go_package = "google.golang.org/genproto/googleapis/ccc/hosted/marketplac option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.ccc.hosted.marketplace.v2"; +option php_namespace = "Google\\Apps\\Market\\V2"; message CustomerLicense { message Editions { diff --git a/third_party/googleapis/google/apps/market/v2/services.proto b/third_party/googleapis/google/apps/market/v2/services.proto index 3be0e9627..83855e77e 100644 --- a/third_party/googleapis/google/apps/market/v2/services.proto +++ b/third_party/googleapis/google/apps/market/v2/services.proto @@ -24,10 +24,12 @@ option go_package = "google.golang.org/genproto/googleapis/ccc/hosted/marketplac option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.ccc.hosted.marketplace.v2"; +option php_namespace = "Google\\Apps\\Market\\V2"; service CustomerLicenseService { option (google.api.default_host) = "appsmarket.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/appsmarketplace.license"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appsmarketplace.license"; // Get the status of a license for a customer to determine if they have access // for a given app. @@ -40,7 +42,8 @@ service CustomerLicenseService { service LicenseNotificationService { option (google.api.default_host) = "appsmarket.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/appsmarketplace.license"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appsmarketplace.license"; // Get a list of licensing notifications with regards to a given app. rpc List(LicenseNotificationListRequest) returns (LicenseNotificationList) { @@ -53,7 +56,8 @@ service LicenseNotificationService { service UserLicenseService { option (google.api.default_host) = "appsmarket.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/appsmarketplace.license"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appsmarketplace.license"; // Get the user's licensing status for their permission to use a given app. rpc Get(UserLicenseGetRequest) returns (UserLicense) { diff --git a/third_party/googleapis/google/apps/script/type/BUILD.bazel b/third_party/googleapis/google/apps/script/type/BUILD.bazel index 7f6af6767..094d0832a 100644 --- a/third_party/googleapis/google/apps/script/type/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", diff --git a/third_party/googleapis/google/apps/script/type/addon_widget_set.proto b/third_party/googleapis/google/apps/script/type/addon_widget_set.proto index 79490eab3..477ff90f7 100644 --- a/third_party/googleapis/google/apps/script/type/addon_widget_set.proto +++ b/third_party/googleapis/google/apps/script/type/addon_widget_set.proto @@ -19,6 +19,7 @@ package google.apps.script.type; option csharp_namespace = "Google.Apps.Script.Type"; option go_package = "google.golang.org/genproto/googleapis/apps/script/type"; option java_multiple_files = true; +option java_outer_classname = "AddOnWidgetSetProto"; option java_package = "com.google.apps.script.type"; option php_namespace = "Google\\Apps\\Script\\Type"; option ruby_package = "Google::Apps::Script::Type"; 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 8ae209363..96efe84a3 100644 --- a/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", 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 b95410638..0f74a0dfc 100644 --- a/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", 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 c869c24be..d1ff9402b 100644 --- a/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", 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 cfe6d28b0..b5268e02d 100644 --- a/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", 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 b662c6139..14600b677 100644 --- a/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", 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 6e3e717d8..7ff196055 100644 --- a/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel @@ -16,8 +16,8 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", "py_grpc_library", "py_proto_library", "ruby_grpc_library", diff --git a/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel b/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel index 4052c3d3f..011d1ca80 100644 --- a/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel @@ -171,13 +171,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -193,11 +194,8 @@ php_grpc_library( php_gapic_library( name = "tables_php_gapic", - src = ":tables_proto_with_info", - gapic_yaml = "language_gapic.yaml", + srcs = [":tables_proto_with_info"], grpc_service_config = "tables_grpc_service_config.json", - package = "google.area120.tables.v1alpha1", - service_yaml = "area120tables_v1alpha1.yaml", deps = [ ":tables_php_grpc", ":tables_php_proto", @@ -248,7 +246,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -264,13 +262,19 @@ ruby_grpc_library( deps = [":tables_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "tables_ruby_gapic", - src = ":tables_proto_with_info", - gapic_yaml = "language_gapic.yaml", + srcs = [":tables_proto_with_info",], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-area120-tables-v1alpha1", + "ruby-cloud-env-prefix=AREA120_TABLES", + "ruby-cloud-product-url=https://tables.area120.google.com/u/0/about#/", + "ruby-cloud-api-id=area120tables.googleapis.com", + "ruby-cloud-api-shortname=area120tables", + ], grpc_service_config = "tables_grpc_service_config.json", - package = "google.area120.tables.v1alpha1", - service_yaml = "area120tables_v1alpha1.yaml", + 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", deps = [ ":tables_ruby_grpc", ":tables_ruby_proto", diff --git a/third_party/googleapis/google/area120/tables/v1alpha1/language_gapic.yaml b/third_party/googleapis/google/area120/tables/v1alpha1/language_gapic.yaml index 5ea09fbd1..2c450053e 100644 --- a/third_party/googleapis/google/area120/tables/v1alpha1/language_gapic.yaml +++ b/third_party/googleapis/google/area120/tables/v1alpha1/language_gapic.yaml @@ -4,12 +4,3 @@ config_schema_version: 2.0.0 language_settings: java: package_name: com.google.area120.tables.v1alpha - python: - package_name: google.area120.tables_v1alpha.gapic - go: - package_name: cloud.google.com/go/area120/tables/v1alpha1 - csharp: - package_name: Google.Area120.Tables.V1Alpha - nodejs: - package_name: tables.v1alpha - domain_layer_location: google-area120 diff --git a/third_party/googleapis/google/bigtable/admin/cluster/bigtableclusteradmin.yaml b/third_party/googleapis/google/bigtable/admin/cluster/bigtableclusteradmin.yaml deleted file mode 100644 index ca8f73b9a..000000000 --- a/third_party/googleapis/google/bigtable/admin/cluster/bigtableclusteradmin.yaml +++ /dev/null @@ -1,39 +0,0 @@ -type: google.api.Service -config_version: 1 -name: bigtableclusteradmin.googleapis.com -title: Google Cloud Bigtable Cluster Admin API - -apis: -- name: google.longrunning.Operations -- name: google.bigtable.admin.cluster.v1.BigtableClusterService -- name: google.bigtable.admin.v2.BigtableInstanceAdmin - -types: -- name: google.bigtable.admin.cluster.v1.CreateClusterMetadata -- name: google.bigtable.admin.cluster.v1.UpdateClusterMetadata -- name: google.bigtable.admin.cluster.v1.UndeleteClusterMetadata -- name: google.bigtable.admin.cluster.v1.V2OperationMetadata -- name: google.bigtable.admin.v2.CreateInstanceMetadata -- name: google.bigtable.admin.v2.UpdateClusterMetadata - -authentication: - rules: - - selector: '*' - oauth: - canonical_scopes: >- - https://www.googleapis.com/auth/bigtable.admin, - https://www.googleapis.com/auth/bigtable.admin.cluster, - https://www.googleapis.com/auth/bigtable.admin.instance, - https://www.googleapis.com/auth/cloud-bigtable.admin, - https://www.googleapis.com/auth/cloud-bigtable.admin.cluster, - https://www.googleapis.com/auth/cloud-platform - - selector: google.bigtable.admin.cluster.v1.BigtableClusterService.GetCluster - oauth: - canonical_scopes: >- - https://www.googleapis.com/auth/bigtable.admin, - https://www.googleapis.com/auth/bigtable.admin.cluster, - https://www.googleapis.com/auth/bigtable.admin.instance, - https://www.googleapis.com/auth/cloud-bigtable.admin, - https://www.googleapis.com/auth/cloud-bigtable.admin.cluster, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only diff --git a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto b/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto deleted file mode 100644 index 0ce39959e..000000000 --- a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto +++ /dev/null @@ -1,93 +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.bigtable.admin.cluster.v1; - -import "google/api/annotations.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster"; -option java_multiple_files = true; -option java_outer_classname = "BigtableClusterDataProto"; -option java_package = "com.google.bigtable.admin.cluster.v1"; - -// A physical location in which a particular project can allocate Cloud BigTable -// resources. -message Zone { - // Possible states of a zone. - enum Status { - // The state of the zone is unknown or unspecified. - UNKNOWN = 0; - - // The zone is in a good state. - OK = 1; - - // The zone is down for planned maintenance. - PLANNED_MAINTENANCE = 2; - - // The zone is down for emergency or unplanned maintenance. - EMERGENCY_MAINENANCE = 3; - } - - // A permanent unique identifier for the zone. - // Values are of the form projects//zones/[a-z][-a-z0-9]* - string name = 1; - - // The name of this zone as it appears in UIs. - string display_name = 2; - - // The current state of this zone. - Status status = 3; -} - -// An isolated set of Cloud BigTable resources on which tables can be hosted. -message Cluster { - // A permanent unique identifier for the cluster. For technical reasons, the - // zone in which the cluster resides is included here. - // Values are of the form - // projects//zones//clusters/[a-z][-a-z0-9]* - string name = 1; - - // The operation currently running on the cluster, if any. - // This cannot be set directly, only through CreateCluster, UpdateCluster, - // or UndeleteCluster. Calls to these methods will be rejected if - // "current_operation" is already set. - google.longrunning.Operation current_operation = 3; - - // The descriptive name for this cluster as it appears in UIs. - // Must be unique per zone. - string display_name = 4; - - // The number of serve nodes allocated to this cluster. - int32 serve_nodes = 5; - - // What storage type to use for tables in this cluster. Only configurable at - // cluster creation time. If unspecified, STORAGE_SSD will be used. - StorageType default_storage_type = 8; -} - -enum StorageType { - // The storage type used is unspecified. - STORAGE_UNSPECIFIED = 0; - - // Data will be stored in SSD, providing low and consistent latencies. - STORAGE_SSD = 1; - - // Data will be stored in HDD, providing high and less predictable - // latencies. - STORAGE_HDD = 2; -} diff --git a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto b/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto deleted file mode 100644 index a95fdb1fa..000000000 --- a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto +++ /dev/null @@ -1,150 +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.bigtable.admin.cluster.v1; - -import "google/api/annotations.proto"; -import "google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto"; -import "google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster"; -option java_multiple_files = true; -option java_outer_classname = "BigtableClusterServicesProto"; -option java_package = "com.google.bigtable.admin.cluster.v1"; - -// Service for managing zonal Cloud Bigtable resources. -service BigtableClusterService { - // Lists the supported zones for the given project. - rpc ListZones(ListZonesRequest) returns (ListZonesResponse) { - option (google.api.http) = { - get: "/v1/{name=projects/*}/zones" - }; - } - - // Gets information about a particular cluster. - rpc GetCluster(GetClusterRequest) returns (Cluster) { - option (google.api.http) = { - get: "/v1/{name=projects/*/zones/*/clusters/*}" - }; - } - - // Lists all clusters in the given project, along with any zones for which - // cluster information could not be retrieved. - rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) { - option (google.api.http) = { - get: "/v1/{name=projects/*}/aggregated/clusters" - }; - } - - // Creates a cluster and begins preparing it to begin serving. The returned - // cluster embeds as its "current_operation" a long-running operation which - // can be used to track the progress of turning up the new cluster. - // Immediately upon completion of this request: - // * The cluster will be readable via the API, with all requested attributes - // but no allocated resources. - // Until completion of the embedded operation: - // * Cancelling the operation will render the cluster immediately unreadable - // via the API. - // * All other attempts to modify or delete the cluster will be rejected. - // Upon completion of the embedded operation: - // * Billing for all successfully-allocated resources will begin (some types - // may have lower than the requested levels). - // * New tables can be created in the cluster. - // * The cluster's allocated resource levels will be readable via the API. - // The embedded operation's "metadata" field type is - // [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - rpc CreateCluster(CreateClusterRequest) returns (Cluster) { - option (google.api.http) = { - post: "/v1/{name=projects/*/zones/*}/clusters" - body: "*" - }; - } - - // Updates a cluster, and begins allocating or releasing resources as - // requested. The returned cluster embeds as its "current_operation" a - // long-running operation which can be used to track the progress of updating - // the cluster. - // Immediately upon completion of this request: - // * For resource types where a decrease in the cluster's allocation has been - // requested, billing will be based on the newly-requested level. - // Until completion of the embedded operation: - // * Cancelling the operation will set its metadata's "cancelled_at_time", - // and begin restoring resources to their pre-request values. The operation - // is guaranteed to succeed at undoing all resource changes, after which - // point it will terminate with a CANCELLED status. - // * All other attempts to modify or delete the cluster will be rejected. - // * Reading the cluster via the API will continue to give the pre-request - // resource levels. - // Upon completion of the embedded operation: - // * Billing will begin for all successfully-allocated resources (some types - // may have lower than the requested levels). - // * All newly-reserved resources will be available for serving the cluster's - // tables. - // * The cluster's new resource levels will be readable via the API. - // [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - rpc UpdateCluster(Cluster) returns (Cluster) { - option (google.api.http) = { - put: "/v1/{name=projects/*/zones/*/clusters/*}" - body: "*" - }; - } - - // Marks a cluster and all of its tables for permanent deletion in 7 days. - // Immediately upon completion of the request: - // * Billing will cease for all of the cluster's reserved resources. - // * The cluster's "delete_time" field will be set 7 days in the future. - // Soon afterward: - // * All tables within the cluster will become unavailable. - // Prior to the cluster's "delete_time": - // * The cluster can be recovered with a call to UndeleteCluster. - // * All other attempts to modify or delete the cluster will be rejected. - // At the cluster's "delete_time": - // * The cluster and *all of its tables* will immediately and irrevocably - // disappear from the API, and their data will be permanently deleted. - rpc DeleteCluster(DeleteClusterRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/zones/*/clusters/*}" - }; - } - - // Cancels the scheduled deletion of an cluster and begins preparing it to - // resume serving. The returned operation will also be embedded as the - // cluster's "current_operation". - // Immediately upon completion of this request: - // * The cluster's "delete_time" field will be unset, protecting it from - // automatic deletion. - // Until completion of the returned operation: - // * The operation cannot be cancelled. - // Upon completion of the returned operation: - // * Billing for the cluster's resources will resume. - // * All tables within the cluster will be available. - // [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] - // The embedded operation's "response" field type is - // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. - rpc UndeleteCluster(UndeleteClusterRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{name=projects/*/zones/*/clusters/*}:undelete" - body: "" - }; - } -} diff --git a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto b/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto deleted file mode 100644 index 48ea157f9..000000000 --- a/third_party/googleapis/google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto +++ /dev/null @@ -1,138 +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.bigtable.admin.cluster.v1; - -import "google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster"; -option java_multiple_files = true; -option java_outer_classname = "BigtableClusterServiceMessagesProto"; -option java_package = "com.google.bigtable.admin.cluster.v1"; - -// Request message for BigtableClusterService.ListZones. -message ListZonesRequest { - // The unique name of the project for which a list of supported zones is - // requested. - // Values are of the form projects/ - string name = 1; -} - -// Response message for BigtableClusterService.ListZones. -message ListZonesResponse { - // The list of requested zones. - repeated Zone zones = 1; -} - -// Request message for BigtableClusterService.GetCluster. -message GetClusterRequest { - // The unique name of the requested cluster. - // Values are of the form projects//zones//clusters/ - string name = 1; -} - -// Request message for BigtableClusterService.ListClusters. -message ListClustersRequest { - // The unique name of the project for which a list of clusters is requested. - // Values are of the form projects/ - string name = 1; -} - -// Response message for BigtableClusterService.ListClusters. -message ListClustersResponse { - // The list of requested Clusters. - repeated Cluster clusters = 1; - - // The zones for which clusters could not be retrieved. - repeated Zone failed_zones = 2; -} - -// Request message for BigtableClusterService.CreateCluster. -message CreateClusterRequest { - // The unique name of the zone in which to create the cluster. - // Values are of the form projects//zones/ - string name = 1; - - // The id to be used when referring to the new cluster within its zone, - // e.g. just the "test-cluster" section of the full name - // "projects//zones//clusters/test-cluster". - string cluster_id = 2; - - // The cluster to create. - // The "name", "delete_time", and "current_operation" fields must be left - // blank. - Cluster cluster = 3; -} - -// Metadata type for the operation returned by -// BigtableClusterService.CreateCluster. -message CreateClusterMetadata { - // The request which prompted the creation of this operation. - CreateClusterRequest original_request = 1; - - // The time at which original_request was received. - google.protobuf.Timestamp request_time = 2; - - // The time at which this operation failed or was completed successfully. - google.protobuf.Timestamp finish_time = 3; -} - -// Metadata type for the operation returned by -// BigtableClusterService.UpdateCluster. -message UpdateClusterMetadata { - // The request which prompted the creation of this operation. - Cluster original_request = 1; - - // The time at which original_request was received. - google.protobuf.Timestamp request_time = 2; - - // The time at which this operation was cancelled. If set, this operation is - // in the process of undoing itself (which is guaranteed to succeed) and - // cannot be cancelled again. - google.protobuf.Timestamp cancel_time = 3; - - // The time at which this operation failed or was completed successfully. - google.protobuf.Timestamp finish_time = 4; -} - -// Request message for BigtableClusterService.DeleteCluster. -message DeleteClusterRequest { - // The unique name of the cluster to be deleted. - // Values are of the form projects//zones//clusters/ - string name = 1; -} - -// Request message for BigtableClusterService.UndeleteCluster. -message UndeleteClusterRequest { - // The unique name of the cluster to be un-deleted. - // Values are of the form projects//zones//clusters/ - string name = 1; -} - -// Metadata type for the operation returned by -// BigtableClusterService.UndeleteCluster. -message UndeleteClusterMetadata { - // The time at which the original request was received. - google.protobuf.Timestamp request_time = 1; - - // The time at which this operation failed or was completed successfully. - google.protobuf.Timestamp finish_time = 2; -} - -// Metadata type for operations initiated by the V2 BigtableAdmin service. -// More complete information for such operations is available via the V2 API. -message V2OperationMetadata {} diff --git a/third_party/googleapis/google/bigtable/admin/table/bigtabletableadmin.yaml b/third_party/googleapis/google/bigtable/admin/table/bigtabletableadmin.yaml deleted file mode 100644 index a3411efa2..000000000 --- a/third_party/googleapis/google/bigtable/admin/table/bigtabletableadmin.yaml +++ /dev/null @@ -1,27 +0,0 @@ -type: google.api.Service -config_version: 1 -name: bigtabletableadmin.googleapis.com -title: Google Cloud Bigtable Table Admin API - -apis: -- name: google.bigtable.admin.table.v1.BigtableTableService - -authentication: - rules: - - selector: '*' - oauth: - canonical_scopes: >- - https://www.googleapis.com/auth/bigtable.admin, - https://www.googleapis.com/auth/bigtable.admin.table, - https://www.googleapis.com/auth/cloud-bigtable.admin, - https://www.googleapis.com/auth/cloud-bigtable.admin.table, - https://www.googleapis.com/auth/cloud-platform - - selector: google.bigtable.admin.table.v1.BigtableTableService.GetTable - oauth: - canonical_scopes: >- - https://www.googleapis.com/auth/bigtable.admin, - https://www.googleapis.com/auth/bigtable.admin.table, - https://www.googleapis.com/auth/cloud-bigtable.admin, - https://www.googleapis.com/auth/cloud-bigtable.admin.table, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only diff --git a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_data.proto b/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_data.proto deleted file mode 100644 index c4ba2a591..000000000 --- a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_data.proto +++ /dev/null @@ -1,123 +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.bigtable.admin.table.v1; - -import "google/longrunning/operations.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table"; -option java_multiple_files = true; -option java_outer_classname = "BigtableTableDataProto"; -option java_package = "com.google.bigtable.admin.table.v1"; - -// A collection of user data indexed by row, column, and timestamp. -// Each table is served using the resources of its parent cluster. -message Table { - enum TimestampGranularity { MILLIS = 0; } - - // A unique identifier of the form - // /tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]* - string name = 1; - - // If this Table is in the process of being created, the Operation used to - // track its progress. As long as this operation is present, the Table will - // not accept any Table Admin or Read/Write requests. - google.longrunning.Operation current_operation = 2; - - // The column families configured for this table, mapped by column family id. - map column_families = 3; - - // The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in - // this table. Timestamps not matching the granularity will be rejected. - // Cannot be changed once the table is created. - TimestampGranularity granularity = 4; -} - -// A set of columns within a table which share a common configuration. -message ColumnFamily { - // A unique identifier of the form /columnFamilies/[-_.a-zA-Z0-9]+ - // The last segment is the same as the "name" field in - // google.bigtable.v1.Family. - string name = 1; - - // Garbage collection expression specified by the following grammar: - // GC = EXPR - // | "" ; - // EXPR = EXPR, "||", EXPR (* lowest precedence *) - // | EXPR, "&&", EXPR - // | "(", EXPR, ")" (* highest precedence *) - // | PROP ; - // PROP = "version() >", NUM32 - // | "age() >", NUM64, [ UNIT ] ; - // NUM32 = non-zero-digit { digit } ; (* # NUM32 <= 2^32 - 1 *) - // NUM64 = non-zero-digit { digit } ; (* # NUM64 <= 2^63 - 1 *) - // UNIT = "d" | "h" | "m" (* d=days, h=hours, m=minutes, else micros *) - // GC expressions can be up to 500 characters in length - // - // The different types of PROP are defined as follows: - // version() - cell index, counting from most recent and starting at 1 - // age() - age of the cell (current time minus cell timestamp) - // - // Example: "version() > 3 || (age() > 3d && version() > 1)" - // drop cells beyond the most recent three, and drop cells older than three - // days unless they're the most recent cell in the row/column - // - // Garbage collection executes opportunistically in the background, and so - // it's possible for reads to return a cell even if it matches the active GC - // expression for its family. - string gc_expression = 2; - - // Garbage collection rule specified as a protobuf. - // Supersedes `gc_expression`. - // Must serialize to at most 500 bytes. - // - // NOTE: Garbage collection executes opportunistically in the background, and - // so it's possible for reads to return a cell even if it matches the active - // GC expression for its family. - GcRule gc_rule = 3; -} - -// Rule for determining which cells to delete during garbage collection. -message GcRule { - // A GcRule which deletes cells matching all of the given rules. - message Intersection { - // Only delete cells which would be deleted by every element of `rules`. - repeated GcRule rules = 1; - } - - // A GcRule which deletes cells matching any of the given rules. - message Union { - // Delete cells which would be deleted by any element of `rules`. - repeated GcRule rules = 1; - } - - oneof rule { - // Delete all cells in a column except the most recent N. - int32 max_num_versions = 1; - - // Delete cells in a column older than the given age. - // Values must be at least one millisecond, and will be truncated to - // microsecond granularity. - google.protobuf.Duration max_age = 2; - - // Delete cells that would be deleted by every nested rule. - Intersection intersection = 3; - - // Delete cells that would be deleted by any nested rule. - Union union = 4; - } -} diff --git a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service.proto b/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service.proto deleted file mode 100644 index f94b8845f..000000000 --- a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service.proto +++ /dev/null @@ -1,104 +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.bigtable.admin.table.v1; - -import "google/api/annotations.proto"; -import "google/bigtable/admin/table/v1/bigtable_table_data.proto"; -import "google/bigtable/admin/table/v1/bigtable_table_service_messages.proto"; -import "google/protobuf/empty.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table"; -option java_multiple_files = true; -option java_outer_classname = "BigtableTableServicesProto"; -option java_package = "com.google.bigtable.admin.table.v1"; - -// Service for creating, configuring, and deleting Cloud Bigtable tables. -// Provides access to the table schemas only, not the data stored within the -// tables. -service BigtableTableService { - // Creates a new table, to be served from a specified cluster. - // The table can be created with a full set of initial column families, - // specified in the request. - rpc CreateTable(CreateTableRequest) returns (Table) { - option (google.api.http) = { - post: "/v1/{name=projects/*/zones/*/clusters/*}/tables" - body: "*" - }; - } - - // Lists the names of all tables served from a specified cluster. - rpc ListTables(ListTablesRequest) returns (ListTablesResponse) { - option (google.api.http) = { - get: "/v1/{name=projects/*/zones/*/clusters/*}/tables" - }; - } - - // Gets the schema of the specified table, including its column families. - rpc GetTable(GetTableRequest) returns (Table) { - option (google.api.http) = { - get: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}" - }; - } - - // Permanently deletes a specified table and all of its data. - rpc DeleteTable(DeleteTableRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}" - }; - } - - // Changes the name of a specified table. - // Cannot be used to move tables between clusters, zones, or projects. - rpc RenameTable(RenameTableRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}:rename" - body: "*" - }; - } - - // Creates a new column family within a specified table. - rpc CreateColumnFamily(CreateColumnFamilyRequest) returns (ColumnFamily) { - option (google.api.http) = { - post: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}/columnFamilies" - body: "*" - }; - } - - // Changes the configuration of a specified column family. - rpc UpdateColumnFamily(ColumnFamily) returns (ColumnFamily) { - option (google.api.http) = { - put: "/v1/{name=projects/*/zones/*/clusters/*/tables/*/columnFamilies/*}" - body: "*" - }; - } - - // Permanently deletes a specified column family and all of its data. - rpc DeleteColumnFamily(DeleteColumnFamilyRequest) - returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/zones/*/clusters/*/tables/*/columnFamilies/*}" - }; - } - - // Delete all rows in a table corresponding to a particular prefix - rpc BulkDeleteRows(BulkDeleteRowsRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}:bulkDeleteRows" - body: "*" - }; - } -} diff --git a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service_messages.proto b/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service_messages.proto deleted file mode 100644 index 683e5c050..000000000 --- a/third_party/googleapis/google/bigtable/admin/table/v1/bigtable_table_service_messages.proto +++ /dev/null @@ -1,115 +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.bigtable.admin.table.v1; - -import "google/bigtable/admin/table/v1/bigtable_table_data.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table"; -option java_multiple_files = true; -option java_outer_classname = "BigtableTableServiceMessagesProto"; -option java_package = "com.google.bigtable.admin.table.v1"; - -message CreateTableRequest { - // The unique name of the cluster in which to create the new table. - string name = 1; - - // The name by which the new table should be referred to within the cluster, - // e.g. "foobar" rather than "/tables/foobar". - string table_id = 2; - - // The Table to create. The `name` field of the Table and all of its - // ColumnFamilies must be left blank, and will be populated in the response. - Table table = 3; - - // The optional list of row keys that will be used to initially split the - // table into several tablets (Tablets are similar to HBase regions). - // Given two split keys, "s1" and "s2", three tablets will be created, - // spanning the key ranges: [, s1), [s1, s2), [s2, ). - // - // Example: - // * Row keys := ["a", "apple", "custom", "customer_1", "customer_2", - // "other", "zz"] - // * initial_split_keys := ["apple", "customer_1", "customer_2", "other"] - // * Key assignment: - // - Tablet 1 [, apple) => {"a"}. - // - Tablet 2 [apple, customer_1) => {"apple", "custom"}. - // - Tablet 3 [customer_1, customer_2) => {"customer_1"}. - // - Tablet 4 [customer_2, other) => {"customer_2"}. - // - Tablet 5 [other, ) => {"other", "zz"}. - repeated string initial_split_keys = 4; -} - -message ListTablesRequest { - // The unique name of the cluster for which tables should be listed. - string name = 1; -} - -message ListTablesResponse { - // The tables present in the requested cluster. - // At present, only the names of the tables are populated. - repeated Table tables = 1; -} - -message GetTableRequest { - // The unique name of the requested table. - string name = 1; -} - -message DeleteTableRequest { - // The unique name of the table to be deleted. - string name = 1; -} - -message RenameTableRequest { - // The current unique name of the table. - string name = 1; - - // The new name by which the table should be referred to within its containing - // cluster, e.g. "foobar" rather than "/tables/foobar". - string new_id = 2; -} - -message CreateColumnFamilyRequest { - // The unique name of the table in which to create the new column family. - string name = 1; - - // The name by which the new column family should be referred to within the - // table, e.g. "foobar" rather than "/columnFamilies/foobar". - string column_family_id = 2; - - // The column family to create. The `name` field must be left blank. - ColumnFamily column_family = 3; -} - -message DeleteColumnFamilyRequest { - // The unique name of the column family to be deleted. - string name = 1; -} - -message BulkDeleteRowsRequest { - // The unique name of the table on which to perform the bulk delete - string table_name = 1; - - oneof target { - // Delete all rows that start with this row key prefix. Prefix cannot be - // zero length. - bytes row_key_prefix = 2; - - // Delete all rows in the table. Setting this to false is a no-op. - bool delete_all_data_from_table = 3; - } -} diff --git a/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel b/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel index 295985ffb..fcf2d1f1a 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel +++ b/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel @@ -134,8 +134,8 @@ go_gapic_library( ":admin_go_proto", "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning/autogen:go_default_library", "@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", ], ) @@ -186,13 +186,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -208,11 +209,8 @@ php_grpc_library( php_gapic_library( name = "admin_php_gapic", - src = ":admin_proto_with_info", - # Do not change this to the bigtableadmin_gapic.yaml, see tracking bug. - gapic_yaml = "bigtableadmin_gapic.legacy.yaml", - package = "google.bigtable.admin.v2", - service_yaml = "bigtableadmin_v2.yaml", + srcs = [":admin_proto_with_info"], + gapic_yaml = "bigtableadmin_gapic.yaml", deps = [ ":admin_php_grpc", ":admin_php_proto", @@ -263,8 +261,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) 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 d979dba59..ff2076c50 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 @@ -270,7 +270,7 @@ service BigtableTableAdmin { } // Create a new table by restoring from a completed backup. The new table - // must be in the same instance as the instance containing the backup. The + // must be in the same project as the instance containing the 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 @@ -335,8 +335,8 @@ 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 the parent of the source backup. Values are - // of the form `projects//instances/`. + // table. This instance must be in the same project as the source backup. + // Values are of the form `projects//instances/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.legacy.yaml b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.legacy.yaml deleted file mode 100644 index 80ea567b3..000000000 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.legacy.yaml +++ /dev/null @@ -1,1029 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 1.0.0 -language_settings: - java: - package_name: com.google.cloud.bigtable.admin.v2 - interface_names: - google.bigtable.admin.v2.BigtableInstanceAdmin: BaseBigtableInstanceAdmin - google.bigtable.admin.v2.BigtableTableAdmin: BaseBigtableTableAdmin - python: - package_name: google.cloud.bigtable_admin_v2.gapic - go: - package_name: cloud.google.com/go/bigtable/admin/apiv2 - csharp: - package_name: Google.Cloud.Bigtable.Admin.V2 - ruby: - package_name: Google::Cloud::Bigtable::Admin::V2 - release_level: GA - php: - package_name: Google\Cloud\Bigtable\Admin\V2 - nodejs: - package_name: admin.v2 -interfaces: -- name: google.bigtable.admin.v2.BigtableInstanceAdmin - collections: - - name_pattern: projects/{project} - entity_name: project - language_overrides: - - language: csharp - common_resource_name: Google.Api.Gax.ResourceNames.ProjectName - - name_pattern: projects/{project}/instances/{instance} - entity_name: instance - - name_pattern: projects/{project}/instances/{instance}/appProfiles/{app_profile} - entity_name: app_profile - - name_pattern: projects/{project}/instances/{instance}/clusters/{cluster} - entity_name: cluster - - name_pattern: projects/{project}/locations/{location} - entity_name: location - retry_codes_def: - - name: idempotent - retry_codes: - - UNAVAILABLE - - DEADLINE_EXCEEDED - - name: non_idempotent - retry_codes: [] - retry_params_def: - - name: idempotent_params - initial_retry_delay_millis: 1000 - retry_delay_multiplier: 2 - max_retry_delay_millis: 60000 - initial_rpc_timeout_millis: 60000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 60000 - total_timeout_millis: 600000 - - name: non_idempotent_params - initial_retry_delay_millis: 0 - retry_delay_multiplier: 1 - max_retry_delay_millis: 0 - initial_rpc_timeout_millis: 60000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 60000 - total_timeout_millis: 60000 - - name: non_idempotent_heavy_params - initial_retry_delay_millis: 0 - retry_delay_multiplier: 1 - max_retry_delay_millis: 0 - initial_rpc_timeout_millis: 300000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 300000 - total_timeout_millis: 300000 - methods: - - name: CreateInstance - flattening: - groups: - - parameters: - - parent - - instance_id - - instance - - clusters - required_fields: - - parent - - instance_id - - instance - - clusters - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_heavy_params - field_name_patterns: - parent: project - resource_name_treatment: STATIC_TYPES - timeout_millis: 300000 - long_running: - return_type: google.bigtable.admin.v2.Instance - metadata_type: google.bigtable.admin.v2.CreateInstanceMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - header_request_params: - - parent - - name: GetInstance - flattening: - groups: - - parameters: - - name - required_fields: - - name - resource_name_treatment: STATIC_TYPES - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: instance - timeout_millis: 60000 - header_request_params: - - name - - name: ListInstances - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: project - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - parent - - name: UpdateInstance - required_fields: - - name - - display_name - - type - - labels - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Should use PartialUpdateInstance instead - surface_treatments: - - include_languages: [java, csharp] - visibility: DISABLED - header_request_params: - - name - - name: PartialUpdateInstance - flattening: - groups: - - parameters: - - instance - - update_mask - required_fields: - - instance - - update_mask - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - instance.name: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - long_running: - return_type: google.bigtable.admin.v2.Instance - metadata_type: google.bigtable.admin.v2.UpdateInstanceMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - header_request_params: - - instance.name - - name: DeleteInstance - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: CreateCluster - flattening: - groups: - - parameters: - - parent - - cluster_id - - cluster - required_fields: - - parent - - cluster_id - - cluster - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - long_running: - return_type: google.bigtable.admin.v2.Cluster - metadata_type: google.bigtable.admin.v2.CreateClusterMetadata - initial_poll_delay_millis: 5000 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 60000 - total_poll_timeout_millis: 21600000 - timeout_millis: 60000 - header_request_params: - - parent - - name: GetCluster - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: ListClusters - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - parent - - name: UpdateCluster - required_fields: - - name - - serve_nodes - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: cluster - resource_name_treatment: STATIC_TYPES - long_running: - return_type: google.bigtable.admin.v2.Cluster - metadata_type: google.bigtable.admin.v2.UpdateClusterMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - timeout_millis: 60000 - header_request_params: - - name - - name: DeleteCluster - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: CreateAppProfile - flattening: - groups: - - parameters: - - parent - - app_profile_id - - app_profile - required_fields: - - parent - - app_profile_id - - app_profile - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - parent - - name: GetAppProfile - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: app_profile - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: ListAppProfiles - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - page_streaming: - request: - token_field: page_token - response: - token_field: next_page_token - resources_field: app_profiles - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - parent - - name: UpdateAppProfile - flattening: - groups: - - parameters: - - app_profile - - update_mask - required_fields: - - app_profile - - update_mask - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - app_profile.name: app_profile - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - long_running: - return_type: google.bigtable.admin.v2.AppProfile - metadata_type: google.bigtable.admin.v2.UpdateAppProfileMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - header_request_params: - - app_profile.name - - name: DeleteAppProfile - flattening: - groups: - - parameters: - - name - required_fields: - - name - - ignore_warnings - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: app_profile - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: GetIamPolicy - flattening: - groups: - - parameters: - - resource - required_fields: - - resource - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - resource: instance - timeout_millis: 60000 - header_request_params: - - resource - - name: SetIamPolicy - flattening: - groups: - - parameters: - - resource - - policy - required_fields: - - resource - - policy - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - resource: instance - timeout_millis: 60000 - header_request_params: - - resource - - name: TestIamPermissions - flattening: - groups: - - parameters: - - resource - - permissions - required_fields: - - resource - - permissions - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - resource: instance - timeout_millis: 60000 - header_request_params: - - resource -- name: google.bigtable.admin.v2.BigtableTableAdmin - collections: - - name_pattern: projects/{project}/instances/{instance} - entity_name: instance - - name_pattern: projects/{project}/instances/{instance}/clusters/{cluster} - entity_name: cluster - - name_pattern: projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot} - entity_name: snapshot - - name_pattern: projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup} - entity_name: backup - - name_pattern: projects/{project}/instances/{instance}/tables/{table} - entity_name: table - language_overrides: - - language: csharp - common_resource_name: Google.Cloud.Bigtable.Common.V2.TableName - retry_codes_def: - - name: idempotent - retry_codes: - - UNAVAILABLE - - DEADLINE_EXCEEDED - - name: non_idempotent - retry_codes: [] - retry_params_def: - - name: idempotent_params - initial_retry_delay_millis: 1000 - retry_delay_multiplier: 2 - max_retry_delay_millis: 60000 - initial_rpc_timeout_millis: 60000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 60000 - total_timeout_millis: 600000 - - name: non_idempotent_params - initial_retry_delay_millis: 0 - retry_delay_multiplier: 1 - max_retry_delay_millis: 0 - initial_rpc_timeout_millis: 60000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 60000 - total_timeout_millis: 60000 - - name: non_idempotent_heavy_params - initial_retry_delay_millis: 0 - retry_delay_multiplier: 1 - max_retry_delay_millis: 0 - initial_rpc_timeout_millis: 300000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 300000 - total_timeout_millis: 300000 - - name: drop_row_range_params - initial_retry_delay_millis: 0 - retry_delay_multiplier: 1 - max_retry_delay_millis: 0 - initial_rpc_timeout_millis: 3600000 - rpc_timeout_multiplier: 1 - max_rpc_timeout_millis: 3600000 - total_timeout_millis: 3600000 - - methods: - - name: CreateTable - flattening: - groups: - - parameters: - - parent - - table_id - - table - required_fields: - - parent - - table_id - - table - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_heavy_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 300000 - header_request_params: - - parent - - name: CreateTableFromSnapshot - flattening: - groups: - - parameters: - - parent - - table_id - - source_snapshot - required_fields: - - parent - - table_id - - source_snapshot - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - long_running: - return_type: google.bigtable.admin.v2.Table - metadata_type: google.bigtable.admin.v2.CreateTableFromSnapshotMetadata - initial_poll_delay_millis: 5000 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 60000 - total_poll_timeout_millis: 3600000 - timeout_millis: 60000 - # Snapshots are Alpha-only and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - parent - - name: ListTables - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - page_streaming: - request: - token_field: page_token - response: - token_field: next_page_token - resources_field: tables - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: instance - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - parent - - name: GetTable - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: DeleteTable - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: ModifyColumnFamilies - flattening: - groups: - - parameters: - - name - - modifications - required_fields: - - name - - modifications - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_heavy_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 300000 - header_request_params: - - name - - name: DropRowRange - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: drop_row_range_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: GenerateConsistencyToken - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: CheckConsistency - flattening: - groups: - - parameters: - - name - - consistency_token - required_fields: - - name - - consistency_token - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - header_request_params: - - name - - name: GetIamPolicy - flattening: - groups: - - parameters: - - resource - required_fields: - - resource - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - resource: table - timeout_millis: 60000 - header_request_params: - - resource - - name: SetIamPolicy - flattening: - groups: - - parameters: - - resource - - policy - required_fields: - - resource - - policy - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - resource: table - timeout_millis: 60000 - header_request_params: - - resource - - name: TestIamPermissions - flattening: - groups: - - parameters: - - resource - - permissions - required_fields: - - resource - - permissions - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - resource: table - timeout_millis: 60000 - header_request_params: - - resource - - name: SnapshotTable - flattening: - groups: - - parameters: - - name - - cluster - - snapshot_id - - description - required_fields: - - name - - cluster - - snapshot_id - - description - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: table - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - long_running: - return_type: google.bigtable.admin.v2.Snapshot - metadata_type: google.bigtable.admin.v2.SnapshotTableMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - # Snapshots are Alpha-only and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - name - - name: GetSnapshot - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: snapshot - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Snapshots are Alpha-only and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - name - - name: ListSnapshots - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - page_streaming: - request: - page_size_field: page_size - token_field: page_token - response: - token_field: next_page_token - resources_field: snapshots - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Snapshots are Alpha-only and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - parent - - name: DeleteSnapshot - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: snapshot - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Snapshots are Alpha-only and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - name - - name: CreateBackup - flattening: - groups: - - parameters: - - parent - - backup_id - - backup - required_fields: - - parent - - backup_id - - backup - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - parent: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - long_running: - return_type: google.bigtable.admin.v2.Backup - metadata_type: google.bigtable.admin.v2.CreateBackupMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - parent - - name: GetBackup - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - name: backup - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - name - - name: ListBackups - flattening: - groups: - - parameters: - - parent - required_fields: - - parent - page_streaming: - request: - page_size_field: page_size - token_field: page_token - response: - token_field: next_page_token - resources_field: backups - retry_codes_name: idempotent - retry_params_name: idempotent_params - field_name_patterns: - parent: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - parent - - name: UpdateBackup - flattening: - groups: - - parameters: - - backup - - update_mask - required_fields: - - backup - - update_mask - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: backup - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - backup - - name: DeleteBackup - flattening: - groups: - - parameters: - - name - required_fields: - - name - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: backup - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - name - - name: RestoreTable - required_fields: - - parent - retry_codes_name: non_idempotent - retry_params_name: non_idempotent_params - field_name_patterns: - name: cluster - resource_name_treatment: STATIC_TYPES - timeout_millis: 60000 - long_running: - return_type: google.bigtable.admin.v2.Table - metadata_type: google.bigtable.admin.v2.RestoreTableMetadata - initial_poll_delay_millis: 500 - poll_delay_multiplier: 1.5 - max_poll_delay_millis: 5000 - total_poll_timeout_millis: 600000 - # Managed Backup is in alpha and not supported in C# - surface_treatments: - - include_languages: [csharp] - visibility: DISABLED - header_request_params: - - parent - -resource_name_generation: -- message_name: CreateInstanceRequest - field_entity_map: - parent: project -- message_name: GetInstanceRequest - field_entity_map: - name: instance -- message_name: ListInstancesRequest - field_entity_map: - parent: project -- message_name: UpdateInstanceRequest - field_entity_map: - name: instance -- message_name: DeleteInstanceRequest - field_entity_map: - name: instance -- message_name: CreateClusterRequest - field_entity_map: - parent: instance -- message_name: GetClusterRequest - field_entity_map: - name: cluster -- message_name: ListClustersRequest - field_entity_map: - parent: instance -- message_name: UpdateClusterRequest - field_entity_map: - name: cluster -- message_name: DeleteClusterRequest - field_entity_map: - name: cluster -- message_name: CreateAppProfileRequest - field_entity_map: - parent: instance -- message_name: GetAppProfileRequest - field_entity_map: - name: app_profile -- message_name: ListAppProfilesRequest - field_entity_map: - parent: instance -- message_name: DeleteAppProfileRequest - field_entity_map: - name: app_profile -- message_name: CreateTableRequest - field_entity_map: - parent: instance -- message_name: CreateTableFromSnapshotRequest - field_entity_map: - parent: instance - source_snapshot: snapshot -- message_name: ListTablesRequest - field_entity_map: - parent: instance -- message_name: GetTableRequest - field_entity_map: - name: table -- message_name: DeleteTableRequest - field_entity_map: - name: table -- message_name: ModifyColumnFamiliesRequest - field_entity_map: - name: table -- message_name: DropRowRangeRequest - field_entity_map: - name: table -- message_name: GenerateConsistencyTokenRequest - field_entity_map: - name: table -- message_name: CheckConsistencyRequest - field_entity_map: - name: table -- message_name: SnapshotTableRequest - field_entity_map: - name: table - cluster: cluster - snapshot_id: snapshot -- message_name: GetSnapshotRequest - field_entity_map: - name: snapshot -- message_name: ListSnapshotsRequest - field_entity_map: - parent: cluster -- message_name: DeleteSnapshotRequest - field_entity_map: - name: snapshot -- message_name: CreateBackupRequest - field_entity_map: - parent: cluster -- message_name: GetBackupRequest - field_entity_map: - name: backup -- message_name: ListBackupsRequest - field_entity_map: - parent: cluster -- message_name: UpdateBackupRequest - field_entity_map: - name: backup -- message_name: DeleteBackupRequest - field_entity_map: - name: backup -- message_name: Instance - field_entity_map: - name: instance -- message_name: Cluster - field_entity_map: - name: cluster - location: location -- message_name: Table - field_entity_map: - name: table -- message_name: Snapshot - field_entity_map: - name: snapshot -- message_name: Backup - field_entity_map: - name: backup diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.yaml b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.yaml index 66c005295..081506cf4 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.yaml +++ b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_gapic.yaml @@ -6,19 +6,6 @@ language_settings: interface_names: google.bigtable.admin.v2.BigtableInstanceAdmin: BaseBigtableInstanceAdmin google.bigtable.admin.v2.BigtableTableAdmin: BaseBigtableTableAdmin - python: - package_name: google.cloud.bigtable_admin_v2.gapic - go: - package_name: cloud.google.com/go/bigtable/admin/apiv2 - csharp: - package_name: Google.Cloud.Bigtable.Admin.V2 - ruby: - package_name: Google::Cloud::Bigtable::Admin::V2 - release_level: GA - php: - package_name: Google\Cloud\Bigtable\Admin\V2 - nodejs: - package_name: admin.v2 interfaces: - name: google.bigtable.admin.v2.BigtableInstanceAdmin methods: diff --git a/third_party/googleapis/google/bigtable/v1/bigtable_data.proto b/third_party/googleapis/google/bigtable/v1/bigtable_data.proto deleted file mode 100644 index bc6a63307..000000000 --- a/third_party/googleapis/google/bigtable/v1/bigtable_data.proto +++ /dev/null @@ -1,513 +0,0 @@ -// Copyright 2018 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.bigtable.v1; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/v1;bigtable"; -option java_multiple_files = true; -option java_outer_classname = "BigtableDataProto"; -option java_package = "com.google.bigtable.v1"; - -// Specifies the complete (requested) contents of a single row of a table. -// Rows which exceed 256MiB in size cannot be read in full. -message Row { - // The unique key which identifies this row within its table. This is the same - // key that's used to identify the row in, for example, a MutateRowRequest. - // May contain any non-empty byte string up to 4KiB in length. - bytes key = 1; - - // May be empty, but only if the entire row is empty. - // The mutual ordering of column families is not specified. - repeated Family families = 2; -} - -// Specifies (some of) the contents of a single row/column family of a table. -message Family { - // The unique key which identifies this family within its row. This is the - // same key that's used to identify the family in, for example, a RowFilter - // which sets its "family_name_regex_filter" field. - // Must match [-_.a-zA-Z0-9]+, except that AggregatingRowProcessors may - // produce cells in a sentinel family with an empty name. - // Must be no greater than 64 characters in length. - string name = 1; - - // Must not be empty. Sorted in order of increasing "qualifier". - repeated Column columns = 2; -} - -// Specifies (some of) the contents of a single row/column of a table. -message Column { - // The unique key which identifies this column within its family. This is the - // same key that's used to identify the column in, for example, a RowFilter - // which sets its "column_qualifier_regex_filter" field. - // May contain any byte string, including the empty string, up to 16kiB in - // length. - bytes qualifier = 1; - - // Must not be empty. Sorted in order of decreasing "timestamp_micros". - repeated Cell cells = 2; -} - -// Specifies (some of) the contents of a single row/column/timestamp of a table. -message Cell { - // The cell's stored timestamp, which also uniquely identifies it within - // its column. - // Values are always expressed in microseconds, but individual tables may set - // a coarser "granularity" to further restrict the allowed values. For - // example, a table which specifies millisecond granularity will only allow - // values of "timestamp_micros" which are multiples of 1000. - int64 timestamp_micros = 1; - - // The value stored in the cell. - // May contain any byte string, including the empty string, up to 100MiB in - // length. - bytes value = 2; - - // Labels applied to the cell by a [RowFilter][google.bigtable.v1.RowFilter]. - repeated string labels = 3; -} - -// Specifies a contiguous range of rows. -message RowRange { - // Inclusive lower bound. If left empty, interpreted as the empty string. - bytes start_key = 2; - - // Exclusive upper bound. If left empty, interpreted as infinity. - bytes end_key = 3; -} - -// Specifies a non-contiguous set of rows. -message RowSet { - // Single rows included in the set. - repeated bytes row_keys = 1; - - // Contiguous row ranges included in the set. - repeated RowRange row_ranges = 2; -} - -// Specifies a contiguous range of columns within a single column family. -// The range spans from : to -// :, where both bounds can be either inclusive or -// exclusive. -message ColumnRange { - // The name of the column family within which this range falls. - string family_name = 1; - - // The column qualifier at which to start the range (within 'column_family'). - // If neither field is set, interpreted as the empty string, inclusive. - oneof start_qualifier { - // Used when giving an inclusive lower bound for the range. - bytes start_qualifier_inclusive = 2; - - // Used when giving an exclusive lower bound for the range. - bytes start_qualifier_exclusive = 3; - } - - // The column qualifier at which to end the range (within 'column_family'). - // If neither field is set, interpreted as the infinite string, exclusive. - oneof end_qualifier { - // Used when giving an inclusive upper bound for the range. - bytes end_qualifier_inclusive = 4; - - // Used when giving an exclusive upper bound for the range. - bytes end_qualifier_exclusive = 5; - } -} - -// Specified a contiguous range of microsecond timestamps. -message TimestampRange { - // Inclusive lower bound. If left empty, interpreted as 0. - int64 start_timestamp_micros = 1; - - // Exclusive upper bound. If left empty, interpreted as infinity. - int64 end_timestamp_micros = 2; -} - -// Specifies a contiguous range of raw byte values. -message ValueRange { - // The value at which to start the range. - // If neither field is set, interpreted as the empty string, inclusive. - oneof start_value { - // Used when giving an inclusive lower bound for the range. - bytes start_value_inclusive = 1; - - // Used when giving an exclusive lower bound for the range. - bytes start_value_exclusive = 2; - } - - // The value at which to end the range. - // If neither field is set, interpreted as the infinite string, exclusive. - oneof end_value { - // Used when giving an inclusive upper bound for the range. - bytes end_value_inclusive = 3; - - // Used when giving an exclusive upper bound for the range. - bytes end_value_exclusive = 4; - } -} - -// Takes a row as input and produces an alternate view of the row based on -// specified rules. For example, a RowFilter might trim down a row to include -// just the cells from columns matching a given regular expression, or might -// return all the cells of a row but not their values. More complicated filters -// can be composed out of these components to express requests such as, "within -// every column of a particular family, give just the two most recent cells -// which are older than timestamp X." -// -// There are two broad categories of RowFilters (true filters and transformers), -// as well as two ways to compose simple filters into more complex ones -// (chains and interleaves). They work as follows: -// -// * True filters alter the input row by excluding some of its cells wholesale -// from the output row. An example of a true filter is the "value_regex_filter", -// which excludes cells whose values don't match the specified pattern. All -// regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax) -// in raw byte mode (RE2::Latin1), and are evaluated as full matches. An -// important point to keep in mind is that RE2(.) is equivalent by default to -// RE2([^\n]), meaning that it does not match newlines. When attempting to match -// an arbitrary byte, you should therefore use the escape sequence '\C', which -// may need to be further escaped as '\\C' in your client language. -// -// * Transformers alter the input row by changing the values of some of its -// cells in the output, without excluding them completely. Currently, the only -// supported transformer is the "strip_value_transformer", which replaces every -// cell's value with the empty string. -// -// * Chains and interleaves are described in more detail in the -// RowFilter.Chain and RowFilter.Interleave documentation. -// -// The total serialized size of a RowFilter message must not -// exceed 4096 bytes, and RowFilters may not be nested within each other -// (in Chains or Interleaves) to a depth of more than 20. -message RowFilter { - // A RowFilter which sends rows through several RowFilters in sequence. - message Chain { - // The elements of "filters" are chained together to process the input row: - // in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row - // The full chain is executed atomically. - repeated RowFilter filters = 1; - } - - // A RowFilter which sends each row to each of several component - // RowFilters and interleaves the results. - message Interleave { - // The elements of "filters" all process a copy of the input row, and the - // results are pooled, sorted, and combined into a single output row. - // If multiple cells are produced with the same column and timestamp, - // they will all appear in the output row in an unspecified mutual order. - // Consider the following example, with three filters: - // - // input row - // | - // ----------------------------------------------------- - // | | | - // f(0) f(1) f(2) - // | | | - // 1: foo,bar,10,x foo,bar,10,z far,bar,7,a - // 2: foo,blah,11,z far,blah,5,x far,blah,5,x - // | | | - // ----------------------------------------------------- - // | - // 1: foo,bar,10,z // could have switched with #2 - // 2: foo,bar,10,x // could have switched with #1 - // 3: foo,blah,11,z - // 4: far,bar,7,a - // 5: far,blah,5,x // identical to #6 - // 6: far,blah,5,x // identical to #5 - // All interleaved filters are executed atomically. - repeated RowFilter filters = 1; - } - - // A RowFilter which evaluates one of two possible RowFilters, depending on - // whether or not a predicate RowFilter outputs any cells from the input row. - // - // IMPORTANT NOTE: The predicate filter does not execute atomically with the - // true and false filters, which may lead to inconsistent or unexpected - // results. Additionally, Condition filters have poor performance, especially - // when filters are set for the false condition. - message Condition { - // If "predicate_filter" outputs any cells, then "true_filter" will be - // evaluated on the input row. Otherwise, "false_filter" will be evaluated. - RowFilter predicate_filter = 1; - - // The filter to apply to the input row if "predicate_filter" returns any - // results. If not provided, no results will be returned in the true case. - RowFilter true_filter = 2; - - // The filter to apply to the input row if "predicate_filter" does not - // return any results. If not provided, no results will be returned in the - // false case. - RowFilter false_filter = 3; - } - - // Which of the possible RowFilter types to apply. If none are set, this - // RowFilter returns all cells in the input row. - oneof filter { - // Applies several RowFilters to the data in sequence, progressively - // narrowing the results. - Chain chain = 1; - - // Applies several RowFilters to the data in parallel and combines the - // results. - Interleave interleave = 2; - - // Applies one of two possible RowFilters to the data based on the output of - // a predicate RowFilter. - Condition condition = 3; - - // ADVANCED USE ONLY. - // Hook for introspection into the RowFilter. Outputs all cells directly to - // the output of the read rather than to any parent filter. Consider the - // following example: - // - // Chain( - // FamilyRegex("A"), - // Interleave( - // All(), - // Chain(Label("foo"), Sink()) - // ), - // QualifierRegex("B") - // ) - // - // A,A,1,w - // A,B,2,x - // B,B,4,z - // | - // FamilyRegex("A") - // | - // A,A,1,w - // A,B,2,x - // | - // +------------+-------------+ - // | | - // All() Label(foo) - // | | - // A,A,1,w A,A,1,w,labels:[foo] - // A,B,2,x A,B,2,x,labels:[foo] - // | | - // | Sink() --------------+ - // | | | - // +------------+ x------+ A,A,1,w,labels:[foo] - // | A,B,2,x,labels:[foo] - // A,A,1,w | - // A,B,2,x | - // | | - // QualifierRegex("B") | - // | | - // A,B,2,x | - // | | - // +--------------------------------+ - // | - // A,A,1,w,labels:[foo] - // A,B,2,x,labels:[foo] // could be switched - // A,B,2,x // could be switched - // - // Despite being excluded by the qualifier filter, a copy of every cell - // that reaches the sink is present in the final result. - // - // As with an [Interleave][google.bigtable.v1.RowFilter.Interleave], - // duplicate cells are possible, and appear in an unspecified mutual order. - // In this case we have a duplicate with column "A:B" and timestamp 2, - // because one copy passed through the all filter while the other was - // passed through the label and sink. Note that one copy has label "foo", - // while the other does not. - // - // Cannot be used within the `predicate_filter`, `true_filter`, or - // `false_filter` of a [Condition][google.bigtable.v1.RowFilter.Condition]. - bool sink = 16; - - // Matches all cells, regardless of input. Functionally equivalent to - // leaving `filter` unset, but included for completeness. - bool pass_all_filter = 17; - - // Does not match any cells, regardless of input. Useful for temporarily - // disabling just part of a filter. - bool block_all_filter = 18; - - // Matches only cells from rows whose keys satisfy the given RE2 regex. In - // other words, passes through the entire row when the key matches, and - // otherwise produces an empty row. - // Note that, since row keys can contain arbitrary bytes, the '\C' escape - // sequence must be used if a true wildcard is desired. The '.' character - // will not match the new line character '\n', which may be present in a - // binary key. - bytes row_key_regex_filter = 4; - - // Matches all cells from a row with probability p, and matches no cells - // from the row with probability 1-p. - double row_sample_filter = 14; - - // Matches only cells from columns whose families satisfy the given RE2 - // regex. For technical reasons, the regex must not contain the ':' - // character, even if it is not being used as a literal. - // Note that, since column families cannot contain the new line character - // '\n', it is sufficient to use '.' as a full wildcard when matching - // column family names. - string family_name_regex_filter = 5; - - // Matches only cells from columns whose qualifiers satisfy the given RE2 - // regex. - // Note that, since column qualifiers can contain arbitrary bytes, the '\C' - // escape sequence must be used if a true wildcard is desired. The '.' - // character will not match the new line character '\n', which may be - // present in a binary qualifier. - bytes column_qualifier_regex_filter = 6; - - // Matches only cells from columns within the given range. - ColumnRange column_range_filter = 7; - - // Matches only cells with timestamps within the given range. - TimestampRange timestamp_range_filter = 8; - - // Matches only cells with values that satisfy the given regular expression. - // Note that, since cell values can contain arbitrary bytes, the '\C' escape - // sequence must be used if a true wildcard is desired. The '.' character - // will not match the new line character '\n', which may be present in a - // binary value. - bytes value_regex_filter = 9; - - // Matches only cells with values that fall within the given range. - ValueRange value_range_filter = 15; - - // Skips the first N cells of each row, matching all subsequent cells. - // If duplicate cells are present, as is possible when using an Interleave, - // each copy of the cell is counted separately. - int32 cells_per_row_offset_filter = 10; - - // Matches only the first N cells of each row. - // If duplicate cells are present, as is possible when using an Interleave, - // each copy of the cell is counted separately. - int32 cells_per_row_limit_filter = 11; - - // Matches only the most recent N cells within each column. For example, - // if N=2, this filter would match column "foo:bar" at timestamps 10 and 9, - // skip all earlier cells in "foo:bar", and then begin matching again in - // column "foo:bar2". - // If duplicate cells are present, as is possible when using an Interleave, - // each copy of the cell is counted separately. - int32 cells_per_column_limit_filter = 12; - - // Replaces each cell's value with the empty string. - bool strip_value_transformer = 13; - - // Applies the given label to all cells in the output row. This allows - // the client to determine which results were produced from which part of - // the filter. - // - // Values must be at most 15 characters in length, and match the RE2 - // pattern [a-z0-9\\-]+ - // - // Due to a technical limitation, it is not currently possible to apply - // multiple labels to a cell. As a result, a Chain may have no more than - // one sub-filter which contains a apply_label_transformer. It is okay for - // an Interleave to contain multiple apply_label_transformers, as they will - // be applied to separate copies of the input. This may be relaxed in the - // future. - string apply_label_transformer = 19; - } -} - -// Specifies a particular change to be made to the contents of a row. -message Mutation { - // A Mutation which sets the value of the specified cell. - message SetCell { - // The name of the family into which new data should be written. - // Must match [-_.a-zA-Z0-9]+ - string family_name = 1; - - // The qualifier of the column into which new data should be written. - // Can be any byte string, including the empty string. - bytes column_qualifier = 2; - - // The timestamp of the cell into which new data should be written. - // Use -1 for current Bigtable server time. - // Otherwise, the client should set this value itself, noting that the - // default value is a timestamp of zero if the field is left unspecified. - // Values must match the "granularity" of the table (e.g. micros, millis). - int64 timestamp_micros = 3; - - // The value to be written into the specified cell. - bytes value = 4; - } - - // A Mutation which deletes cells from the specified column, optionally - // restricting the deletions to a given timestamp range. - message DeleteFromColumn { - // The name of the family from which cells should be deleted. - // Must match [-_.a-zA-Z0-9]+ - string family_name = 1; - - // The qualifier of the column from which cells should be deleted. - // Can be any byte string, including the empty string. - bytes column_qualifier = 2; - - // The range of timestamps within which cells should be deleted. - TimestampRange time_range = 3; - } - - // A Mutation which deletes all cells from the specified column family. - message DeleteFromFamily { - // The name of the family from which cells should be deleted. - // Must match [-_.a-zA-Z0-9]+ - string family_name = 1; - } - - // A Mutation which deletes all cells from the containing row. - message DeleteFromRow {} - - // Which of the possible Mutation types to apply. - oneof mutation { - // Set a cell's value. - SetCell set_cell = 1; - - // Deletes cells from a column. - DeleteFromColumn delete_from_column = 2; - - // Deletes cells from a column family. - DeleteFromFamily delete_from_family = 3; - - // Deletes cells from the entire row. - DeleteFromRow delete_from_row = 4; - } -} - -// Specifies an atomic read/modify/write operation on the latest value of the -// specified column. -message ReadModifyWriteRule { - // The name of the family to which the read/modify/write should be applied. - // Must match [-_.a-zA-Z0-9]+ - string family_name = 1; - - // The qualifier of the column to which the read/modify/write should be - // applied. - // Can be any byte string, including the empty string. - bytes column_qualifier = 2; - - // The rule used to determine the column's new latest value from its current - // latest value. - oneof rule { - // Rule specifying that "append_value" be appended to the existing value. - // If the targeted cell is unset, it will be treated as containing the - // empty string. - bytes append_value = 3; - - // Rule specifying that "increment_amount" be added to the existing value. - // If the targeted cell is unset, it will be treated as containing a zero. - // Otherwise, the targeted cell must contain an 8-byte value (interpreted - // as a 64-bit big-endian signed integer), or the entire request will fail. - int64 increment_amount = 4; - } -} diff --git a/third_party/googleapis/google/bigtable/v1/bigtable_service.proto b/third_party/googleapis/google/bigtable/v1/bigtable_service.proto deleted file mode 100644 index dcd1933bc..000000000 --- a/third_party/googleapis/google/bigtable/v1/bigtable_service.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2018 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.bigtable.v1; - -import "google/api/annotations.proto"; -import "google/bigtable/v1/bigtable_data.proto"; -import "google/bigtable/v1/bigtable_service_messages.proto"; -import "google/protobuf/empty.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/v1;bigtable"; -option java_generic_services = true; -option java_multiple_files = true; -option java_outer_classname = "BigtableServicesProto"; -option java_package = "com.google.bigtable.v1"; - -// Service for reading from and writing to existing Bigtables. -service BigtableService { - // Streams back the contents of all requested rows, optionally applying - // the same Reader filter to each. Depending on their size, rows may be - // broken up across multiple responses, but atomicity of each row will still - // be preserved. - rpc ReadRows(ReadRowsRequest) returns (stream ReadRowsResponse) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows:read" - body: "*" - }; - } - - // Returns a sample of row keys in the table. The returned row keys will - // delimit contiguous sections of the table of approximately equal size, - // which can be used to break up the data for distributed tasks like - // mapreduces. - rpc SampleRowKeys(SampleRowKeysRequest) - returns (stream SampleRowKeysResponse) { - option (google.api.http) = { - get: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows:sampleKeys" - }; - } - - // Mutates a row atomically. Cells already present in the row are left - // unchanged unless explicitly changed by 'mutation'. - rpc MutateRow(MutateRowRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows/{row_key}:mutate" - body: "*" - }; - } - - // Mutates multiple rows in a batch. Each individual row is mutated - // atomically as in MutateRow, but the entire batch is not executed - // atomically. - rpc MutateRows(MutateRowsRequest) returns (MutateRowsResponse) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}:mutateRows" - body: "*" - }; - } - - // Mutates a row atomically based on the output of a predicate Reader filter. - rpc CheckAndMutateRow(CheckAndMutateRowRequest) - returns (CheckAndMutateRowResponse) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows/{row_key}:checkAndMutate" - body: "*" - }; - } - - // Modifies a row atomically, reading the latest existing timestamp/value from - // the specified columns and writing a new value at - // max(existing timestamp, current server time) based on pre-defined - // read/modify/write rules. Returns the new contents of all modified cells. - rpc ReadModifyWriteRow(ReadModifyWriteRowRequest) returns (Row) { - option (google.api.http) = { - post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}/rows/{row_key}:readModifyWrite" - body: "*" - }; - } -} diff --git a/third_party/googleapis/google/bigtable/v1/bigtable_service_messages.proto b/third_party/googleapis/google/bigtable/v1/bigtable_service_messages.proto deleted file mode 100644 index 107f15cd6..000000000 --- a/third_party/googleapis/google/bigtable/v1/bigtable_service_messages.proto +++ /dev/null @@ -1,217 +0,0 @@ -// Copyright 2018 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.bigtable.v1; - -import "google/bigtable/v1/bigtable_data.proto"; -import "google/rpc/status.proto"; - -option go_package = "google.golang.org/genproto/googleapis/bigtable/v1;bigtable"; -option java_multiple_files = true; -option java_outer_classname = "BigtableServiceMessagesProto"; -option java_package = "com.google.bigtable.v1"; - -// Request message for BigtableServer.ReadRows. -message ReadRowsRequest { - // The unique name of the table from which to read. - string table_name = 1; - - // If neither row_key nor row_range is set, reads from all rows. - oneof target { - // The key of a single row from which to read. - bytes row_key = 2; - - // A range of rows from which to read. - RowRange row_range = 3; - - // A set of rows from which to read. Entries need not be in order, and will - // be deduplicated before reading. - // The total serialized size of the set must not exceed 1MB. - RowSet row_set = 8; - } - - // The filter to apply to the contents of the specified row(s). If unset, - // reads the entire table. - RowFilter filter = 5; - - // By default, rows are read sequentially, producing results which are - // guaranteed to arrive in increasing row order. Setting - // "allow_row_interleaving" to true allows multiple rows to be interleaved in - // the response stream, which increases throughput but breaks this guarantee, - // and may force the client to use more memory to buffer partially-received - // rows. Cannot be set to true when specifying "num_rows_limit". - bool allow_row_interleaving = 6; - - // The read will terminate after committing to N rows' worth of results. The - // default (zero) is to return all results. - // Note that "allow_row_interleaving" cannot be set to true when this is set. - int64 num_rows_limit = 7; -} - -// Response message for BigtableService.ReadRows. -message ReadRowsResponse { - // Specifies a piece of a row's contents returned as part of the read - // response stream. - message Chunk { - oneof chunk { - // A subset of the data from a particular row. As long as no "reset_row" - // is received in between, multiple "row_contents" from the same row are - // from the same atomic view of that row, and will be received in the - // expected family/column/timestamp order. - Family row_contents = 1; - - // Indicates that the client should drop all previous chunks for - // "row_key", as it will be re-read from the beginning. - bool reset_row = 2; - - // Indicates that the client can safely process all previous chunks for - // "row_key", as its data has been fully read. - bool commit_row = 3; - } - } - - // The key of the row for which we're receiving data. - // Results will be received in increasing row key order, unless - // "allow_row_interleaving" was specified in the request. - bytes row_key = 1; - - // One or more chunks of the row specified by "row_key". - repeated Chunk chunks = 2; -} - -// Request message for BigtableService.SampleRowKeys. -message SampleRowKeysRequest { - // The unique name of the table from which to sample row keys. - string table_name = 1; -} - -// Response message for BigtableService.SampleRowKeys. -message SampleRowKeysResponse { - // Sorted streamed sequence of sample row keys in the table. The table might - // have contents before the first row key in the list and after the last one, - // but a key containing the empty string indicates "end of table" and will be - // the last response given, if present. - // Note that row keys in this list may not have ever been written to or read - // from, and users should therefore not make any assumptions about the row key - // structure that are specific to their use case. - bytes row_key = 1; - - // Approximate total storage space used by all rows in the table which precede - // "row_key". Buffering the contents of all rows between two subsequent - // samples would require space roughly equal to the difference in their - // "offset_bytes" fields. - int64 offset_bytes = 2; -} - -// Request message for BigtableService.MutateRow. -message MutateRowRequest { - // The unique name of the table to which the mutation should be applied. - string table_name = 1; - - // The key of the row to which the mutation should be applied. - bytes row_key = 2; - - // Changes to be atomically applied to the specified row. Entries are applied - // in order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry and at most 100000. - repeated Mutation mutations = 3; -} - -// Request message for BigtableService.MutateRows. -message MutateRowsRequest { - message Entry { - // The key of the row to which the `mutations` should be applied. - bytes row_key = 1; - - // Changes to be atomically applied to the specified row. Mutations are - // applied in order, meaning that earlier mutations can be masked by - // later ones. - // At least one mutation must be specified. - repeated Mutation mutations = 2; - } - - // The unique name of the table to which the mutations should be applied. - string table_name = 1; - - // The row keys/mutations to be applied in bulk. - // Each entry is applied as an atomic mutation, but the entries may be - // applied in arbitrary order (even between entries for the same row). - // At least one entry must be specified, and in total the entries may - // contain at most 100000 mutations. - repeated Entry entries = 2; -} - -// Response message for BigtableService.MutateRows. -message MutateRowsResponse { - // The results for each Entry from the request, presented in the order - // in which the entries were originally given. - // Depending on how requests are batched during execution, it is possible - // for one Entry to fail due to an error with another Entry. In the event - // that this occurs, the same error will be reported for both entries. - repeated google.rpc.Status statuses = 1; -} - -// Request message for BigtableService.CheckAndMutateRowRequest -message CheckAndMutateRowRequest { - // The unique name of the table to which the conditional mutation should be - // applied. - string table_name = 1; - - // The key of the row to which the conditional mutation should be applied. - bytes row_key = 2; - - // The filter to be applied to the contents of the specified row. Depending - // on whether or not any results are yielded, either "true_mutations" or - // "false_mutations" will be executed. If unset, checks that the row contains - // any values at all. - RowFilter predicate_filter = 6; - - // Changes to be atomically applied to the specified row if "predicate_filter" - // yields at least one cell when applied to "row_key". Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if "false_mutations" is empty, and at most - // 100000. - repeated Mutation true_mutations = 4; - - // Changes to be atomically applied to the specified row if "predicate_filter" - // does not yield any cells when applied to "row_key". Entries are applied in - // order, meaning that earlier mutations can be masked by later ones. - // Must contain at least one entry if "true_mutations" is empty, and at most - // 100000. - repeated Mutation false_mutations = 5; -} - -// Response message for BigtableService.CheckAndMutateRowRequest. -message CheckAndMutateRowResponse { - // Whether or not the request's "predicate_filter" yielded any results for - // the specified row. - bool predicate_matched = 1; -} - -// Request message for BigtableService.ReadModifyWriteRowRequest. -message ReadModifyWriteRowRequest { - // The unique name of the table to which the read/modify/write rules should be - // applied. - string table_name = 1; - - // The key of the row to which the read/modify/write rules should be applied. - bytes row_key = 2; - - // Rules specifying how the specified row's contents are to be transformed - // into writes. Entries are applied in order, meaning that earlier rules will - // affect the results of later ones. - repeated ReadModifyWriteRule rules = 3; -} diff --git a/third_party/googleapis/google/bigtable/v2/BUILD.bazel b/third_party/googleapis/google/bigtable/v2/BUILD.bazel index 10ac8389a..2f8891595 100644 --- a/third_party/googleapis/google/bigtable/v2/BUILD.bazel +++ b/third_party/googleapis/google/bigtable/v2/BUILD.bazel @@ -163,13 +163,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -185,10 +186,7 @@ php_grpc_library( php_gapic_library( name = "bigtable_php_gapic", - src = ":bigtable_proto_with_info", - gapic_yaml = "bigtable_gapic.yaml", - package = "google.bigtable.v2", - service_yaml = "bigtable_v2.yaml", + srcs = [":bigtable_proto_with_info"], deps = [ ":bigtable_php_grpc", ":bigtable_php_proto", @@ -239,8 +237,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) diff --git a/third_party/googleapis/google/bigtable/v2/bigtable_gapic.yaml b/third_party/googleapis/google/bigtable/v2/bigtable_gapic.yaml index 9b0b563a9..6f5ab2a9c 100644 --- a/third_party/googleapis/google/bigtable/v2/bigtable_gapic.yaml +++ b/third_party/googleapis/google/bigtable/v2/bigtable_gapic.yaml @@ -5,21 +5,3 @@ language_settings: package_name: com.google.cloud.bigtable.data.v2 interface_names: google.bigtable.v2.Bigtable: BaseBigtableData - python: - package_name: google.cloud.bigtable_v2.gapic - go: - package_name: cloud.google.com/go/bigtable/apiv2 - csharp: - package_name: Google.Cloud.Bigtable.V2 - interface_names: - google.bigtable.v2.Bigtable: BigtableServiceApi - ruby: - package_name: Google::Cloud::Bigtable::V2 - release_level: GA - php: - package_name: Google\Cloud\Bigtable\V2 - nodejs: - package_name: bigtable.v2 - domain_layer_location: google-cloud -interfaces: -- name: google.bigtable.v2.Bigtable diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel b/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel index a0e120eb1..6027e9052 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/chromeos/moblab/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"]) @@ -115,6 +124,7 @@ go_gapic_library( srcs = [":moblab_proto_with_info"], grpc_service_config = "moblab_grpc_service_config.json", importpath = "google.golang.org/google/chromeos/moblab/v1beta1;moblab", + metadata = True, service_yaml = "chromeosmoblab_v1beta1.yaml", deps = [ ":moblab_go_proto", @@ -136,6 +146,7 @@ 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-test.srcjar", ":moblab_go_proto", ], @@ -169,10 +180,10 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -188,9 +199,8 @@ php_grpc_library( php_gapic_library( name = "moblab_php_gapic", - src = ":moblab_proto_with_info", - gapic_yaml = "chromeosmoblab_gapic.yaml", - package = "google.chromeos.moblab.v1beta1", + srcs = [":moblab_proto_with_info"], + grpc_service_config = "moblab_grpc_service_config.json", service_yaml = "chromeosmoblab_v1beta1.yaml", deps = [ ":moblab_php_grpc", @@ -219,6 +229,7 @@ load( nodejs_gapic_library( name = "moblab_nodejs_gapic", + package_name = "@google-cloud/moblab", src = ":moblab_proto_with_info", extra_protoc_parameters = ["metadata"], grpc_service_config = "moblab_grpc_service_config.json", @@ -239,9 +250,9 @@ nodejs_gapic_assembly_pkg( # Ruby ############################################################################## load( - "@com_google_googleapis_imports//:imports.bzl", + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -257,12 +268,13 @@ ruby_grpc_library( deps = [":moblab_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "moblab_ruby_gapic", - src = ":moblab_proto_with_info", - gapic_yaml = "chromeosmoblab_gapic.yaml", - package = "google.chromeos.moblab.v1beta1", - service_yaml = "chromeosmoblab_v1beta1.yaml", + srcs = [":moblab_proto_with_info"], + extra_protoc_parameters = [ + "ruby-cloud-gem-name=google-cloud-chromeos-moblab-v1beta1", + ], + grpc_service_config = "moblab_grpc_service_config.json", 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 a39a3989c..0dc717a4b 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 2020 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. @@ -74,7 +74,6 @@ service BuildService { } // 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. @@ -95,14 +94,14 @@ message ListBuildsRequest { 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 + // 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 + // 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]; @@ -114,7 +113,6 @@ message ListBuildsRequest { } // Response message for listing builds. -// NEXT_TAG: 4 message ListBuildsResponse { // The list of builds. repeated Build builds = 1; @@ -138,10 +136,14 @@ message CheckBuildStageStatusRequest { type: "chromeosmoblab.googleapis.com/BuildArtifact" } ]; + + // 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; @@ -164,6 +166,11 @@ message StageBuildRequest { type: "chromeosmoblab.googleapis.com/BuildArtifact" } ]; + + // 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. @@ -173,7 +180,6 @@ message StageBuildResponse { } // 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_gapic.yaml b/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_gapic.yaml index 422c70184..0bcb880b6 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_gapic.yaml +++ b/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_gapic.yaml @@ -1,15 +1,2 @@ type: com.google.api.codegen.ConfigProto config_schema_version: 2.0.0 -language_settings: - python: - package_name: google.chromeos.moblab_v1beta1.gapic - go: - package_name: cloud.google.com/go/chromeos/moblab/apiv1beta1 - csharp: - package_name: Google.Chromeos.Moblab.V1beta1 - ruby: - package_name: Google::Chromeos::Moblab::V1beta1 - php: - package_name: Google\Chromeos\Moblab\V1beta1 - nodejs: - package_name: google.chromeos.moblab.v1beta1 diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto b/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto index 290268935..372386874 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 2020 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. @@ -63,13 +63,42 @@ message Milestone { // Resource that represents a build for the given build target, model, milestone // and build version. -// NEXT_TAG: 4 message Build { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/Build" pattern: "buildTargets/{build_target}/models/{model}/builds/{build}" }; + // The build status types. + enum BuildStatus { + // No build status is specified. + BUILD_STATUS_UNSPECIFIED = 0; + + // Complete Status: The build passed. + PASS = 1; + + // Complete Status: The build failed. + FAIL = 2; + + // Intermediate Status: The build is still running. + RUNNING = 3; + + // Complete Status: The build was aborted. + ABORTED = 4; + } + + // The build types. + enum BuildType { + // Invalid build type. + BUILD_TYPE_UNSPECIFIED = 0; + + // The release build. + RELEASE = 1; + + // The firmware build. + FIRMWARE = 2; + } + // The resource name of the build. // Format: buildTargets/{build_target}/models/{model}/builds/{build} // Example: buildTargets/octopus/models/bobba/builds/1234.0.0 @@ -83,10 +112,19 @@ message Build { // The build version of the build, e.g. 1234.0.0. string build_version = 3; + + // The status of the build. + BuildStatus status = 4; + + // The type of the build. + BuildType type = 5; + + // The branch of the build. + string branch = 6; } // Resource that represents a build artifact stored in Google Cloud Storage for -// the given build target, model, build version and bucket. NEXT_TAG: 6 +// the given build target, model, build version and bucket. message BuildArtifact { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/BuildArtifact" diff --git a/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel b/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel index 55619183b..46fbb74e5 100644 --- a/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel @@ -170,13 +170,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -192,11 +193,8 @@ php_grpc_library( php_gapic_library( name = "accessapproval_php_gapic", - src = ":accessapproval_proto_with_info", - gapic_yaml = "accessapproval_gapic.yaml", + srcs = [":accessapproval_proto_with_info"], grpc_service_config = "accessapproval_grpc_service_config.json", - package = "google.cloud.accessapproval.v1", - service_yaml = "accessapproval_v1.yaml", deps = [ ":accessapproval_php_grpc", ":accessapproval_php_proto", @@ -246,8 +244,8 @@ nodejs_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", "ruby_grpc_library", "ruby_proto_library", ) diff --git a/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_gapic.yaml b/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_gapic.yaml index 634eeef01..e96f23072 100644 --- a/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_gapic.yaml +++ b/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_gapic.yaml @@ -5,16 +5,3 @@ language_settings: package_name: com.google.cloud.accessapproval.v1 interface_names: google.cloud.accessapproval.v1.AccessApproval: AccessApprovalAdmin - python: - package_name: google.cloud.accessapproval_v1.gapic - go: - package_name: cloud.google.com/go/accessapproval/apiv1 - csharp: - package_name: Google.Cloud.AccessApproval.V1 - ruby: - package_name: Google::Cloud::AccessApproval::V1 - php: - package_name: Google\Cloud\AccessApproval\V1 - nodejs: - package_name: accessapproval.v1 - domain_layer_location: google-cloud diff --git a/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel index bfb557d02..68c2a097b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel @@ -88,11 +88,12 @@ py_grpc_library( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel index 58717757c..d4ec1f60e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel @@ -124,7 +124,7 @@ java_proto_library( java_grpc_library( name = "aiplatform_java_grpc", srcs = [":aiplatform_proto"], - deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, + deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, ) java_gapic_library( @@ -133,10 +133,10 @@ java_gapic_library( grpc_service_config = "aiplatform_grpc_service_config.json", test_deps = [ ":aiplatform_java_grpc", - ] + _JAVA_PROTO_SUBPACKAGE_DEPS, + ] + _JAVA_PROTO_SUBPACKAGE_DEPS, deps = [ ":aiplatform_java_proto", - ] + _JAVA_PROTO_SUBPACKAGE_DEPS, + ] + _JAVA_PROTO_SUBPACKAGE_DEPS, ) java_gapic_test( @@ -238,7 +238,6 @@ _PY_GAPIC_SUBPACKAGE_DEPS = [ "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_py_gapic", ] - py_gapic_library( name = "aiplatform_py_gapic", srcs = [":aiplatform_proto"], @@ -255,13 +254,14 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", + php_gapic_assembly_pkg = "php_gapic_assembly_pkg2", + php_gapic_library = "php_gapic_library2", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( @@ -277,11 +277,8 @@ php_grpc_library( php_gapic_library( name = "aiplatform_php_gapic", - src = ":aiplatform_proto_with_info", - gapic_yaml = "aiplatform_gapic.yaml", + srcs = [":aiplatform_proto_with_info"], grpc_service_config = "aiplatform_grpc_service_config.json", - package = "google.cloud.aiplatform.v1", - service_yaml = "aiplatform_v1.yaml", deps = [ ":aiplatform_php_grpc", ":aiplatform_php_proto", @@ -323,7 +320,7 @@ nodejs_gapic_assembly_pkg( deps = [ ":aiplatform_nodejs_gapic", ":aiplatform_proto", - ] + _PROTO_SUBPACKAGE_DEPS, + ] + _PROTO_SUBPACKAGE_DEPS, ) ############################################################################## @@ -332,7 +329,7 @@ nodejs_gapic_assembly_pkg( load( "@com_google_googleapis_imports//:imports.bzl", "ruby_gapic_assembly_pkg", - "ruby_gapic_library", + "ruby_cloud_gapic_library", "ruby_grpc_library", "ruby_proto_library", ) @@ -348,13 +345,11 @@ ruby_grpc_library( deps = [":aiplatform_ruby_proto"], ) -ruby_gapic_library( +ruby_cloud_gapic_library( name = "aiplatform_ruby_gapic", - src = ":aiplatform_proto_with_info", - gapic_yaml = "aiplatform_gapic.yaml", + srcs = [":aiplatform_proto_with_info",], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-aiplatform-v1"], grpc_service_config = "aiplatform_grpc_service_config.json", - package = "google.cloud.aiplatform.v1", - service_yaml = "aiplatform_v1.yaml", deps = [ ":aiplatform_ruby_grpc", ":aiplatform_ruby_proto", @@ -392,27 +387,31 @@ csharp_grpc_library( srcs = [":aiplatform_proto"], deps = [":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", - 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", +# ], +# ) +################################ ############################################################################## # C++ diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_grpc_service_config.json b/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_grpc_service_config.json index b0f52507c..6918f0988 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_grpc_service_config.json @@ -3,43 +3,43 @@ { "name": [ { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "CreateDataset" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "GetDataset" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "UpdateDataset" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "ListDatasets" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "DeleteDataset" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "ImportData" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "ExportData" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "ListDataItems" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "GetAnnotationSpec" }, { - "service": "google.cloud.aiplatform.v1beta1.DatasetService", + "service": "google.cloud.aiplatform.v1.DatasetService", "method": "ListAnnotations" } ], @@ -48,31 +48,31 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "CreateEndpoint" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "GetEndpoint" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "ListEndpoints" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "UpdateEndpoint" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "DeleteEndpoint" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "DeployModel" }, { - "service": "google.cloud.aiplatform.v1beta1.EndpointService", + "service": "google.cloud.aiplatform.v1.EndpointService", "method": "UndeployModel" } ], @@ -81,83 +81,83 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CreateCustomJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "GetCustomJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "ListCustomJobs" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "DeleteCustomJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CancelCustomJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CreateDataLabelingJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "GetDataLabelingJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "ListDataLabelingJobs" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "DeleteDataLabelingJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CancelDataLabelingJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CreateHyperparameterTuningJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "GetHyperparameterTuningJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "ListHyperparameterTuningJobs" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "DeleteHyperparameterTuningJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CancelHyperparameterTuningJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CreateBatchPredictionJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "GetBatchPredictionJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "ListBatchPredictionJobs" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "DeleteBatchPredictionJob" }, { - "service": "google.cloud.aiplatform.v1beta1.JobService", + "service": "google.cloud.aiplatform.v1.JobService", "method": "CancelBatchPredictionJob" } ], @@ -166,47 +166,47 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "UploadModel" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "GetModel" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "ListModels" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "UpdateModel" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "DeleteModel" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "ExportModel" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "GetModelEvaluation" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "ListModelEvaluations" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "GetModelEvaluationSlice" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "ListModelEvaluationSlices" }, { - "service": "google.cloud.aiplatform.v1beta1.ModelService", + "service": "google.cloud.aiplatform.v1.ModelService", "method": "ExportEvaluatedDataItems" } ], @@ -215,23 +215,23 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.PipelineService", + "service": "google.cloud.aiplatform.v1.PipelineService", "method": "CreateTrainingPipeline" }, { - "service": "google.cloud.aiplatform.v1beta1.PipelineService", + "service": "google.cloud.aiplatform.v1.PipelineService", "method": "GetTrainingPipeline" }, { - "service": "google.cloud.aiplatform.v1beta1.PipelineService", + "service": "google.cloud.aiplatform.v1.PipelineService", "method": "ListTrainingPipelines" }, { - "service": "google.cloud.aiplatform.v1beta1.PipelineService", + "service": "google.cloud.aiplatform.v1.PipelineService", "method": "DeleteTrainingPipeline" }, { - "service": "google.cloud.aiplatform.v1beta1.PipelineService", + "service": "google.cloud.aiplatform.v1.PipelineService", "method": "CancelTrainingPipeline" } ], @@ -240,11 +240,11 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.PredictionService", + "service": "google.cloud.aiplatform.v1.PredictionService", "method": "Predict" }, { - "service": "google.cloud.aiplatform.v1beta1.PredictionService", + "service": "google.cloud.aiplatform.v1.PredictionService", "method": "Explain" } ], @@ -253,23 +253,23 @@ { "name":[ { - "service": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "service": "google.cloud.aiplatform.v1.SpecialistPoolService", "method": "CreateSpecialistPool" }, { - "service": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "service": "google.cloud.aiplatform.v1.SpecialistPoolService", "method": "GetSpecialistPool" }, { - "service": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "service": "google.cloud.aiplatform.v1.SpecialistPoolService", "method": "ListSpecialistPools" }, { - "service": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "service": "google.cloud.aiplatform.v1.SpecialistPoolService", "method": "DeleteSpecialistPool" }, { - "service": "google.cloud.aiplatform.v1beta1.SpecialistPoolService", + "service": "google.cloud.aiplatform.v1.SpecialistPoolService", "method": "UpdateSpecialistPool" } ], 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 f1a614502..3e7439645 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml +++ b/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml @@ -1,7 +1,7 @@ type: google.api.Service config_version: 3 name: aiplatform.googleapis.com -title: Cloud AI Platform API +title: Vertex AI API apis: - name: google.cloud.aiplatform.v1.DatasetService @@ -40,10 +40,16 @@ documentation: Train high-quality custom machine learning models with minimal machine learning expertise and effort. overview: |- - AI Platform (Unified) enables data scientists, developers, and AI newcomers - to create custom machine learning models specific to their business needs - by leveraging Google's state-of-the-art transfer learning and innovative - AI research. + Vertex AI enables data scientists, developers, and AI newcomers to create + custom machine learning models specific to their business needs by + leveraging Google's state-of-the-art transfer learning and innovative AI + research. + 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: diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto index 14e6c6b83..545cf2786 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 2020 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. @@ -40,8 +40,8 @@ message Annotation { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1.Annotation.payload]. The - // schema is defined as an - // [OpenAPI 3.0.2 Schema Object](https://tinyurl.com/y538mdwt). + // 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 the parent Dataset's 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 d087278a1..bbcb03266 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 2020 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/aiplatform/v1/batch_prediction_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/batch_prediction_job.proto index dab242c3d..f99371b23 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 2020 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. @@ -96,8 +96,8 @@ message BatchPredictionJob { // containing only `code` and `message` fields. GcsDestination gcs_destination = 2; - // The BigQuery project location where the output is to be written to. - // In the given project a new dataset is created with name + // The BigQuery project or dataset location where the output is to be + // written to. If project is provided, a new dataset is created with name // `prediction__` // where is made // BigQuery-dataset-name compatible (for example, most special characters @@ -117,9 +117,8 @@ message BatchPredictionJob { BigQueryDestination bigquery_destination = 3; } - // Required. The format in which AI Platform gives the predictions, must be one of the + // Required. The format in which Vertex AI gives the predictions, must be one of the // [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - // // [supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats]. string predictions_format = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -188,7 +187,7 @@ message BatchPredictionJob { BatchDedicatedResources dedicated_resources = 7; // Immutable. Parameters configuring the batch behavior. Currently only applicable when - // [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] are used (in other cases AI Platform does + // [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] are used (in other cases Vertex AI does // the tuning itself). ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(google.api.field_behavior) = IMMUTABLE]; 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 2e37bcc47..56dddbad7 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 2020 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/aiplatform/v1/custom_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/custom_job.proto index eb9125ad7..fd66585e4 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 2020 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. @@ -93,6 +93,8 @@ message CustomJob { // Represents the spec of a CustomJob. message CustomJobSpec { // 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. repeated WorkerPoolSpec worker_pool_specs = 1 [(google.api.field_behavior) = REQUIRED]; // Scheduling options for a CustomJob. @@ -100,8 +102,9 @@ message CustomJobSpec { // Specifies the service account for workload run-as account. // Users submitting jobs must have act-as permission on this run-as account. - // If unspecified, the AI Platform Custom Code Service Agent for the - // CustomJob's project is used. + // If unspecified, the [AI Platform Custom Code Service + // Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + // for the CustomJob's project is used. string service_account = 4; // The full name of the Compute Engine @@ -123,7 +126,7 @@ message CustomJobSpec { // [id][google.cloud.aiplatform.v1.Trial.id] under its parent HyperparameterTuningJob's // baseOutputDirectory. // - // The following AI Platform environment variables will be passed to + // The following Vertex AI environment variables will be passed to // containers or python modules when this field is set: // // For CustomJob: @@ -183,10 +186,12 @@ message ContainerSpec { // The spec of a Python packaged code. message PythonPackageSpec { - // Required. The URI of a container image in the Container Registry that will run the - // provided python package. AI Platform provides wide range of executor images - // with pre-installed packages to meet users' various use cases. Only one of - // the provided images can be set here. + // Required. The URI of a container image in Artifact Registry that will run the + // provided Python package. Vertex AI provides a wide range of executor + // images with pre-installed packages to meet users' various use cases. See + // the list of [pre-built containers for + // training](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). + // You must use an image from this list. string executor_image_uri = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The Google Cloud Storage location of the Python package files which are 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 fdc2e5bdc..399de0e8a 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 2020 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/aiplatform/v1/data_labeling_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/data_labeling_job.proto index c6af38262..a95f27c3b 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 2020 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. @@ -134,9 +134,9 @@ message DataLabelingJob { // the EncryptionSpec of the Dataset they are exported to. EncryptionSpec encryption_spec = 20; - // Parameters that configure the active learning pipeline. Active learning will - // label the data incrementally via several iterations. For every iteration, - // it will select a batch of data based on the sampling strategy. + // Parameters that configure the active learning pipeline. Active learning + // will label the data incrementally via several iterations. For every + // iteration, it will select a batch of data based on the sampling strategy. ActiveLearningConfig active_learning_config = 21; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto b/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto index 7aabab486..e970c8cf2 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 2020 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. @@ -109,7 +109,8 @@ message ImportDataConfig { // Required. Points to a YAML file stored on Google Cloud Storage describing the import // format. Validation will be done against the schema. The schema is defined - // as an [OpenAPI 3.0.2 Schema Object](https://tinyurl.com/y538mdwt). + // as an [OpenAPI 3.0.2 Schema + // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). string import_schema_uri = 4 [(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 8c6ea31fe..75a71664c 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 2020 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. @@ -180,8 +180,7 @@ message UpdateDatasetRequest { Dataset dataset = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The update mask applies to the resource. - // For the `FieldMask` definition, see - // [FieldMask](https://tinyurl.com/protobufs/google.protobuf#fieldmask). + // For the `FieldMask` definition, see [google.protobuf.FieldMask][google.protobuf.FieldMask]. // Updatable fields: // // * `display_name` @@ -358,7 +357,6 @@ message ListDataItemsResponse { message GetAnnotationSpecRequest { // Required. The name of the AnnotationSpec resource. // Format: - // // `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -375,7 +373,6 @@ message GetAnnotationSpecRequest { message ListAnnotationsRequest { // Required. The resource name of the DataItem to list Annotations from. // Format: - // // `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, 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 f3e6184c8..c0a954e0e 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 2020 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/aiplatform/v1/encryption_spec.proto b/third_party/googleapis/google/cloud/aiplatform/v1/encryption_spec.proto index dd97fb48b..36e2578e9 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 2020 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/aiplatform/v1/endpoint.proto b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint.proto index 3b9afe32f..7c5277e43 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 2020 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/aiplatform/v1/endpoint_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint_service.proto index f055c6051..ca3352f54 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 2020 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. @@ -212,9 +212,7 @@ message UpdateEndpointRequest { // Required. The Endpoint which replaces the resource on the server. Endpoint endpoint = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The update mask applies to the resource. - // See - // [FieldMask](https://tinyurl.com/protobufs/google.protobuf#fieldmask). + // Required. The update mask applies to the resource. See [google.protobuf.FieldMask][google.protobuf.FieldMask]. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } 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 8071a70de..9bb71f6b5 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 2020 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/aiplatform/v1/hyperparameter_tuning_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto index 2f3a1011d..f1c3990b7 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 2020 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. @@ -60,7 +60,7 @@ message HyperparameterTuningJob { // The number of failed Trials that need to be seen before failing // the HyperparameterTuningJob. // - // If set to 0, AI Platform decides how many Trials must fail + // If set to 0, Vertex AI decides how many Trials must fail // before the whole job fails. int32 max_failed_trial_count = 7; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/io.proto b/third_party/googleapis/google/cloud/aiplatform/v1/io.proto index c32c66e79..6df4ac568 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 2020 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. @@ -53,9 +53,9 @@ message BigQuerySource { message BigQueryDestination { // Required. BigQuery URI to a project or table, up to 2000 characters long. // - // When only the project is specified, the Dataset and Table are created. - // When the full table reference is specified, the Dataset must exist and table must - // not exist. + // When only the project is specified, the Dataset and Table is created. + // When the full table reference is specified, the Dataset must exist and + // table must not exist. // // Accepted forms: // 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 b9bff3d3e..0bbee54b8 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 2020 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. @@ -35,7 +35,7 @@ option java_multiple_files = true; option java_outer_classname = "JobServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; -// A service for creating and managing AI Platform's jobs. +// A service for creating and managing Vertex AI's jobs. service JobService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; @@ -362,7 +362,7 @@ message CancelCustomJobRequest { ]; } -// Request message for [DataLabelingJobService.CreateDataLabelingJob][]. +// Request message for [JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob]. message CreateDataLabelingJobRequest { // Required. The parent of the DataLabelingJob. // Format: `projects/{project}/locations/{location}` @@ -377,11 +377,10 @@ message CreateDataLabelingJobRequest { DataLabelingJob data_labeling_job = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [DataLabelingJobService.GetDataLabelingJob][]. +// Request message for [JobService.GetDataLabelingJob][google.cloud.aiplatform.v1.JobService.GetDataLabelingJob]. message GetDataLabelingJobRequest { // Required. The name of the DataLabelingJob. // Format: - // // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -391,7 +390,7 @@ message GetDataLabelingJobRequest { ]; } -// Request message for [DataLabelingJobService.ListDataLabelingJobs][]. +// Request message for [JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs]. message ListDataLabelingJobsRequest { // Required. The parent of the DataLabelingJob. // Format: `projects/{project}/locations/{location}` @@ -453,7 +452,6 @@ message ListDataLabelingJobsResponse { message DeleteDataLabelingJobRequest { // Required. The name of the DataLabelingJob to be deleted. // Format: - // // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -463,11 +461,10 @@ message DeleteDataLabelingJobRequest { ]; } -// Request message for [DataLabelingJobService.CancelDataLabelingJob][]. +// Request message for [JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob]. message CancelDataLabelingJobRequest { // Required. The name of the DataLabelingJob. // Format: - // // `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -496,7 +493,6 @@ message CreateHyperparameterTuningJobRequest { message GetHyperparameterTuningJobRequest { // Required. The name of the HyperparameterTuningJob resource. // Format: - // // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -565,7 +561,6 @@ message ListHyperparameterTuningJobsResponse { message DeleteHyperparameterTuningJobRequest { // Required. The name of the HyperparameterTuningJob resource to be deleted. // Format: - // // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -579,7 +574,6 @@ message DeleteHyperparameterTuningJobRequest { message CancelHyperparameterTuningJobRequest { // Required. The name of the HyperparameterTuningJob to cancel. // Format: - // // `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -608,7 +602,6 @@ message CreateBatchPredictionJobRequest { message GetBatchPredictionJobRequest { // Required. The name of the BatchPredictionJob resource. // Format: - // // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -637,6 +630,8 @@ message ListBatchPredictionJobsRequest { // // * `state` supports = and !=. // + // * `model_display_name` supports = and != + // // Some examples of using the filter are: // // * `state="JOB_STATE_SUCCEEDED" AND display_name="my_job"` @@ -676,7 +671,6 @@ message ListBatchPredictionJobsResponse { message DeleteBatchPredictionJobRequest { // Required. The name of the BatchPredictionJob resource to be deleted. // Format: - // // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -690,7 +684,6 @@ message DeleteBatchPredictionJobRequest { message CancelBatchPredictionJobRequest { // Required. The name of the BatchPredictionJob to cancel. // Format: - // // `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` string name = 1 [ (google.api.field_behavior) = REQUIRED, 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 e0a600a8b..18504390f 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 2020 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/aiplatform/v1/machine_resources.proto b/third_party/googleapis/google/cloud/aiplatform/v1/machine_resources.proto index f10cd4e1d..4bf84df8e 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 2020 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. @@ -27,10 +27,13 @@ option java_package = "com.google.cloud.aiplatform.v1"; // Specification of a single machine. message MachineSpec { - // Immutable. The type of the machine. For the machine types supported for prediction, - // see https://tinyurl.com/aip-docs/predictions/machine-types. - // For machine types supported for creating a custom training job, see - // https://tinyurl.com/aip-docs/training/configure-compute. + // Immutable. The type of the machine. + // + // See the [list of machine types supported for + // prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) + // + // See the [list of machine types supported for custom + // training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). // // For [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] this field is optional, and the default // value is `n1-standard-2`. For [BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob] or as part of @@ -77,7 +80,7 @@ message DedicatedResources { int32 max_replica_count = 3 [(google.api.field_behavior) = IMMUTABLE]; } -// A description of resources that to large degree are decided by AI Platform, +// A description of resources that to large degree are decided by Vertex AI, // and require only a modest additional configuration. // Each Model supporting these resources documents its specific guidelines. message AutomaticResources { @@ -95,7 +98,7 @@ message AutomaticResources { // 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, a no upper bound for scaling under heavy - // traffic will be assume, though AI Platform may be unable to scale beyond + // traffic will be assume, though Vertex AI may be unable to scale beyond // certain replica number. int32 max_replica_count = 2 [(google.api.field_behavior) = IMMUTABLE]; } @@ -110,7 +113,7 @@ message BatchDedicatedResources { ]; // Immutable. The number of machine replicas used at the start of the batch operation. - // If not set, AI Platform decides starting number, not greater than + // If not set, Vertex AI decides starting number, not greater than // [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] int32 starting_replica_count = 2 [(google.api.field_behavior) = IMMUTABLE]; 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 da258a7bc..0266b286e 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 2020 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/aiplatform/v1/migratable_resource.proto b/third_party/googleapis/google/cloud/aiplatform/v1/migratable_resource.proto index 9e126901b..ca2918cff 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 2020 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. @@ -100,7 +100,6 @@ message MigratableResource { message DataLabelingAnnotatedDataset { // Full resource name of data labeling AnnotatedDataset. // Format: - // // `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. string annotated_dataset = 1 [(google.api.resource_reference) = { type: "datalabeling.googleapis.com/AnnotatedDataset" @@ -139,8 +138,9 @@ message MigratableResource { DataLabelingDataset data_labeling_dataset = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. Timestamp when the last migration attempt on this MigratableResource started. - // Will not be set if there's no migration attempt on this MigratableResource. + // Output only. Timestamp when the last migration attempt on this MigratableResource + // started. Will not be set if there's no migration attempt on this + // MigratableResource. google.protobuf.Timestamp last_migrate_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when this MigratableResource was last updated. 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 353bcd619..ccdbe39a4 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 2020 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. @@ -33,14 +33,14 @@ option java_outer_classname = "MigrationServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; // A service that migrates resources from automl.googleapis.com, -// datalabeling.googleapis.com and ml.googleapis.com to AI Platform. +// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. service MigrationService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Searches all of the resources in automl.googleapis.com, // datalabeling.googleapis.com and ml.googleapis.com that can be migrated to - // AI Platform's given location. + // Vertex AI's given location. rpc SearchMigratableResources(SearchMigratableResourcesRequest) returns (SearchMigratableResourcesResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/migratableResources:search" @@ -50,7 +50,7 @@ service MigrationService { } // Batch migrates resources from ml.googleapis.com, automl.googleapis.com, - // and datalabeling.googleapis.com to AI Platform (Unified). + // and datalabeling.googleapis.com to Vertex AI. rpc BatchMigrateResources(BatchMigrateResourcesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/migratableResources:batchMigrate" @@ -67,7 +67,7 @@ service MigrationService { // Request message for [MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources]. message SearchMigratableResourcesRequest { // Required. The location that the migratable resources should be searched from. - // It's the AI Platform location that the resources can be migrated to, not + // It's the Vertex AI location that the resources can be migrated to, not // the resources' original location. // Format: // `projects/{project}/locations/{location}` @@ -85,15 +85,18 @@ message SearchMigratableResourcesRequest { // The standard page token. string page_token = 3; - // Supported filters are: - // * Resource type: For a specific type of MigratableResource. - // * `ml_engine_model_version:*` - // * `automl_model:*`, - // * `automl_dataset:*` - // * `data_labeling_dataset:*`. - // * Migrated or not: Filter migrated resource or not by last_migrate_time. - // * `last_migrate_time:*` will filter migrated resources. - // * `NOT last_migrate_time:*` will filter not yet migrated resources. + // A filter for your search. You can use the following types of filters: + // + // * Resource type filters. The following strings filter for a specific type + // of [MigratableResource][google.cloud.aiplatform.v1.MigratableResource]: + // * `ml_engine_model_version:*` + // * `automl_model:*` + // * `automl_dataset:*` + // * `data_labeling_dataset:*` + // * "Migrated or not" filters. The following strings filter for resources + // that either have or have not already been migrated: + // * `last_migrate_time:*` filters for migrated resources. + // * `NOT last_migrate_time:*` filters for not yet migrated resources. string filter = 4; } @@ -127,9 +130,9 @@ message BatchMigrateResourcesRequest { } // Config of migrating one resource from automl.googleapis.com, -// datalabeling.googleapis.com and ml.googleapis.com to AI Platform. +// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. message MigrateResourceRequest { - // Config for migrating version in ml.googleapis.com to AI Platform's Model. + // Config for migrating version in ml.googleapis.com to Vertex AI's Model. message MigrateMlEngineModelVersionConfig { // Required. The ml.googleapis.com endpoint that this model version should be migrated // from. @@ -153,12 +156,12 @@ message MigrateResourceRequest { } ]; - // Required. Display name of the model in AI Platform. + // Required. Display name of the model in Vertex AI. // System will pick a display name if unspecified. string model_display_name = 3 [(google.api.field_behavior) = REQUIRED]; } - // Config for migrating Model in automl.googleapis.com to AI Platform's Model. + // Config for migrating Model in automl.googleapis.com to Vertex AI's Model. message MigrateAutomlModelConfig { // Required. Full resource name of automl Model. // Format: @@ -170,12 +173,12 @@ message MigrateResourceRequest { } ]; - // Optional. Display name of the model in AI Platform. + // Optional. Display name of the model in Vertex AI. // System will pick a display name if unspecified. string model_display_name = 2 [(google.api.field_behavior) = OPTIONAL]; } - // Config for migrating Dataset in automl.googleapis.com to AI Platform's + // Config for migrating Dataset in automl.googleapis.com to Vertex AI's // Dataset. message MigrateAutomlDatasetConfig { // Required. Full resource name of automl Dataset. @@ -188,7 +191,7 @@ message MigrateResourceRequest { } ]; - // Required. Display name of the Dataset in AI Platform. + // Required. Display name of the Dataset in Vertex AI. // System will pick a display name if unspecified. string dataset_display_name = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -197,11 +200,10 @@ message MigrateResourceRequest { // Platform's Dataset. message MigrateDataLabelingDatasetConfig { // Config for migrating AnnotatedDataset in datalabeling.googleapis.com to - // AI Platform's SavedQuery. + // Vertex AI's SavedQuery. message MigrateDataLabelingAnnotatedDatasetConfig { // Required. Full resource name of data labeling AnnotatedDataset. // Format: - // // `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. string annotated_dataset = 1 [ (google.api.field_behavior) = REQUIRED, @@ -221,30 +223,30 @@ message MigrateResourceRequest { } ]; - // Optional. Display name of the Dataset in AI Platform. + // Optional. Display name of the Dataset in Vertex AI. // System will pick a display name if unspecified. string dataset_display_name = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to - // AI Platform's SavedQuery. The specified AnnotatedDatasets have to belong + // Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong // to the datalabeling Dataset. repeated MigrateDataLabelingAnnotatedDatasetConfig migrate_data_labeling_annotated_dataset_configs = 3 [(google.api.field_behavior) = OPTIONAL]; } oneof request { - // Config for migrating Version in ml.googleapis.com to AI Platform's Model. + // Config for migrating Version in ml.googleapis.com to Vertex AI's Model. MigrateMlEngineModelVersionConfig migrate_ml_engine_model_version_config = 1; - // Config for migrating Model in automl.googleapis.com to AI Platform's + // Config for migrating Model in automl.googleapis.com to Vertex AI's // Model. MigrateAutomlModelConfig migrate_automl_model_config = 2; - // Config for migrating Dataset in automl.googleapis.com to AI Platform's + // Config for migrating Dataset in automl.googleapis.com to Vertex AI's // Dataset. MigrateAutomlDatasetConfig migrate_automl_dataset_config = 3; // Config for migrating Dataset in datalabeling.googleapis.com to - // AI Platform's Dataset. + // Vertex AI's Dataset. MigrateDataLabelingDatasetConfig migrate_data_labeling_dataset_config = 4; } } @@ -257,7 +259,7 @@ message BatchMigrateResourcesResponse { // Describes a successfully migrated resource. message MigrateResourceResponse { - // After migration, the resource name in AI Platform. + // After migration, the resource name in Vertex AI. oneof migrated_resource { // Migrated Dataset's resource name. string dataset = 1 [(google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model.proto index cf003c645..1b8bcf5f9 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 2020 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. @@ -93,7 +93,7 @@ message Model { // higher degree of manual configuration. DEDICATED_RESOURCES = 1; - // Resources that to large degree are decided by AI Platform, and require + // Resources that to large degree are decided by Vertex AI, and require // only a modest additional configuration. AUTOMATIC_RESOURCES = 2; } @@ -117,9 +117,9 @@ message Model { // Immutable. Points to a YAML file stored on Google Cloud Storage describing additional // information about the Model, that is specific to it. Unset if the Model // does not have any additional information. - // The schema is defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). - // AutoML Models always have this field populated by AI Platform, if no + // 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). + // AutoML Models always have this field populated by Vertex AI, if no // additional metadata is needed, this field is set to an empty string. // Note: The URI given on output will be immutable and probably different, // including the URI scheme, than the one given on input. The output URI will @@ -146,7 +146,7 @@ message Model { // 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 AI Platform. + // and stored internally by Vertex AI. // Not present for AutoML Models. ModelContainerSpec container_spec = 9 [(google.api.field_behavior) = INPUT_ONLY]; @@ -242,7 +242,7 @@ message Model { // [PredictionService.Explain][]. repeated string supported_output_storage_formats = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Timestamp when this Model was uploaded into AI Platform. + // Output only. Timestamp when this Model was uploaded into Vertex AI. google.protobuf.Timestamp create_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when this Model was most recently updated. @@ -278,9 +278,9 @@ message PredictSchemata { // of a single instance, which are used in [PredictRequest.instances][google.cloud.aiplatform.v1.PredictRequest.instances], // [ExplainRequest.instances][] and // [BatchPredictionJob.input_config][google.cloud.aiplatform.v1.BatchPredictionJob.input_config]. - // The schema is defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). - // AutoML Models always have this field populated by AI Platform. + // 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). + // AutoML Models always have this field populated by Vertex AI. // Note: The URI given on output will be immutable and probably different, // including the URI scheme, than the one given on input. The output URI will // point to a location where the user only has a read access. @@ -290,9 +290,9 @@ message PredictSchemata { // parameters of prediction and explanation via // [PredictRequest.parameters][google.cloud.aiplatform.v1.PredictRequest.parameters], [ExplainRequest.parameters][] and // [BatchPredictionJob.model_parameters][google.cloud.aiplatform.v1.BatchPredictionJob.model_parameters]. - // The schema is defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). - // AutoML Models always have this field populated by AI Platform, if no + // 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). + // AutoML Models always have this field populated by Vertex AI, if no // parameters are supported, then it is set to an empty string. // Note: The URI given on output will be immutable and probably different, // including the URI scheme, than the one given on input. The output URI will @@ -303,31 +303,35 @@ message PredictSchemata { // of a single prediction produced by this Model, which are returned via // [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions], [ExplainResponse.explanations][], and // [BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config]. - // The schema is defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). - // AutoML Models always have this field populated by AI Platform. + // 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). + // AutoML Models always have this field populated by Vertex AI. // Note: The URI given on output will be immutable and probably different, // including the URI scheme, than the one given on input. The output URI will // point to a location where the user only has a read access. string prediction_schema_uri = 3 [(google.api.field_behavior) = IMMUTABLE]; } -// Specification of a container for serving predictions. This message is a -// subset of the Kubernetes Container v1 core -// [specification](https://tinyurl.com/k8s-io-api/v1.18/#container-v1-core). +// Specification of a container for serving predictions. Some fields in this +// message correspond to fields in the [Kubernetes Container v1 core +// specification](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). message ModelContainerSpec { // Required. Immutable. URI of the Docker image to be used as the custom container for serving // predictions. This URI must identify an image in Artifact Registry or - // Container Registry. Learn more about the container publishing - // requirements, including permissions requirements for the AI Platform - // Service Agent, - // [here](https://tinyurl.com/cust-cont-reqs#publishing). + // Container Registry. Learn more about the [container publishing + // requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), + // including permissions requirements for the AI Platform Service Agent. // // The container image is ingested upon [ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel], stored // internally, and this original path is afterwards not used. // // To learn about the requirements for the Docker image itself, see - // [Custom container requirements](https://tinyurl.com/cust-cont-reqs). + // [Custom container + // requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). + // + // You can use the URI to one of Vertex AI's [pre-built container images for + // prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) + // in this field. string image_uri = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE @@ -343,19 +347,19 @@ message ModelContainerSpec { // in conjunction with the [args][google.cloud.aiplatform.v1.ModelContainerSpec.args] field or the // container's [`CMD`](https://docs.docker.com/engine/reference/builder/#cmd), // if either exists. If this field is not specified and the container does not - // have an `ENTRYPOINT`, then refer to the Docker documentation about how + // have an `ENTRYPOINT`, then refer to the Docker documentation about [how // `CMD` and `ENTRYPOINT` - // [interact](https://tinyurl.com/h3kdcgs). + // interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). // // If you specify this field, then you can also specify the `args` field to // provide additional arguments for this command. However, if you specify this // field, then the container's `CMD` is ignored. See the - // [Kubernetes documentation](https://tinyurl.com/y8bvllf4) about how the + // [Kubernetes documentation about how the // `command` and `args` fields interact with a container's `ENTRYPOINT` and - // `CMD`. + // `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). // - // In this field, you can reference environment variables - // [set by AI Platform](https://tinyurl.com/cust-cont-reqs#aip-variables) + // In this field, you can reference [environment variables set by Vertex + // AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables) // and environment variables set in the [env][google.cloud.aiplatform.v1.ModelContainerSpec.env] field. // You cannot reference environment variables set in the Docker image. In // order for environment variables to be expanded, reference them by using the @@ -367,7 +371,8 @@ message ModelContainerSpec { // syntax with `$$`; for example: // $$(VARIABLE_NAME) // This field corresponds to the `command` field of the Kubernetes Containers - // [v1 core API](https://tinyurl.com/k8s-io-api/v1.18/#container-v1-core). + // [v1 core + // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). repeated string command = 2 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Specifies arguments for the command that runs when the container starts. @@ -379,19 +384,20 @@ message ModelContainerSpec { // If you don't specify this field but do specify the // [command][google.cloud.aiplatform.v1.ModelContainerSpec.command] field, then the command from the // `command` field runs without any additional arguments. See the - // [Kubernetes documentation](https://tinyurl.com/y8bvllf4) about how the + // [Kubernetes documentation about how the // `command` and `args` fields interact with a container's `ENTRYPOINT` and - // `CMD`. + // `CMD`](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes). // // If you don't specify this field and don't specify the `command` field, // then the container's // [`ENTRYPOINT`](https://docs.docker.com/engine/reference/builder/#cmd) and // `CMD` determine what runs based on their default behavior. See the Docker - // documentation about how `CMD` and `ENTRYPOINT` - // [interact](https://tinyurl.com/h3kdcgs). + // documentation about [how `CMD` and `ENTRYPOINT` + // interact](https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact). // - // In this field, you can reference environment variables - // [set by AI Platform](https://tinyurl.com/cust-cont-reqs#aip-variables) + // In this field, you can reference [environment variables + // set by Vertex + // AI](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables) // and environment variables set in the [env][google.cloud.aiplatform.v1.ModelContainerSpec.env] field. // You cannot reference environment variables set in the Docker image. In // order for environment variables to be expanded, reference them by using the @@ -403,7 +409,8 @@ message ModelContainerSpec { // syntax with `$$`; for example: // $$(VARIABLE_NAME) // This field corresponds to the `args` field of the Kubernetes Containers - // [v1 core API](https://tinyurl.com/k8s-io-api/v1.18/#container-v1-core). + // [v1 core + // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). repeated string args = 3 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. List of environment variables to set in the container. After the container @@ -432,13 +439,15 @@ message ModelContainerSpec { // does not occur. // // This field corresponds to the `env` field of the Kubernetes Containers - // [v1 core API](https://tinyurl.com/k8s-io-api/v1.18/#container-v1-core). + // [v1 core + // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). repeated EnvVar env = 4 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. List of ports to expose from the container. AI Platform sends any + // Immutable. List of ports to expose from the container. Vertex AI sends any // prediction requests that it receives to the first port on this list. AI // Platform also sends - // [liveness and health checks](https://tinyurl.com/cust-cont-reqs#health) + // [liveness and health + // checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) // to this port. // // If you do not specify this field, it defaults to following value: @@ -451,18 +460,19 @@ message ModelContainerSpec { // ] // ``` // - // AI Platform does not use ports other than the first one listed. This field + // 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](https://tinyurl.com/k8s-io-api/v1.18/#container-v1-core). + // [v1 core + // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). repeated Port ports = 5 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. HTTP path on the container to send prediction requests to. AI Platform + // Immutable. HTTP path on the container to send prediction requests to. Vertex AI // forwards requests sent using // [projects.locations.endpoints.predict][google.cloud.aiplatform.v1.PredictionService.Predict] to this - // path on the container's IP address and port. AI Platform then returns the + // path on the container's IP address and port. Vertex AI then returns the // container's response in the API response. // - // For example, if you set this field to `/foo`, then when AI Platform + // For example, if you set this field to `/foo`, then when Vertex AI // receives a prediction request, it forwards the request body in a POST // request to the `/foo` path on the port of your container specified by the // first value of this `ModelContainerSpec`'s @@ -475,24 +485,23 @@ message ModelContainerSpec { // // * ENDPOINT: The last segment (following `endpoints/`)of the // Endpoint.name][] field of the Endpoint where this Model has been - // deployed. (AI Platform makes this value available to your container code - // as the - // [`AIP_ENDPOINT_ID`](https://tinyurl.com/cust-cont-reqs#aip-variables) - // environment variable.) + // deployed. (Vertex AI makes this value available to your container code + // as the [`AIP_ENDPOINT_ID` environment + // variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) // // * DEPLOYED_MODEL: [DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id] of the `DeployedModel`. - // (AI Platform makes this value available to your container code + // (Vertex AI makes this value available to your container code // as the [`AIP_DEPLOYED_MODEL_ID` environment - // variable](https://tinyurl.com/cust-cont-reqs#aip-variables).) + // variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) string predict_route = 6 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. HTTP path on the container to send health checks to. AI Platform + // Immutable. HTTP path on the container to send health checks to. Vertex AI // intermittently sends GET requests to this path on the container's IP // address and port to check that the container is healthy. Read more about // [health - // checks](https://tinyurl.com/cust-cont-reqs#checks). + // checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#health). // - // For example, if you set this field to `/bar`, then AI Platform + // For example, if you set this field to `/bar`, then Vertex AI // intermittently sends a GET request to the `/bar` path on the port of your // container specified by the first value of this `ModelContainerSpec`'s // [ports][google.cloud.aiplatform.v1.ModelContainerSpec.ports] field. @@ -504,15 +513,14 @@ message ModelContainerSpec { // // * ENDPOINT: The last segment (following `endpoints/`)of the // Endpoint.name][] field of the Endpoint where this Model has been - // deployed. (AI Platform makes this value available to your container code - // as the - // [`AIP_ENDPOINT_ID`](https://tinyurl.com/cust-cont-reqs#aip-variables) - // environment variable.) + // deployed. (Vertex AI makes this value available to your container code + // as the [`AIP_ENDPOINT_ID` environment + // variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) // // * DEPLOYED_MODEL: [DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id] of the `DeployedModel`. - // (AI Platform makes this value available to your container code as the - // [`AIP_DEPLOYED_MODEL_ID`](https://tinyurl.com/cust-cont-reqs#aip-variables) - // environment variable.) + // (Vertex AI makes this value available to your container code as the + // [`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]; } 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 6596a4fc2..402acd83e 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 2020 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. @@ -40,8 +40,8 @@ message ModelEvaluation { // Output only. Points to a YAML file stored on Google Cloud Storage describing the // [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is - // defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). + // defined as an OpenAPI 3.0.2 [Schema + // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). string metrics_schema_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Evaluation metrics of the Model. The schema of the metrics is stored in 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 78656ed7a..6fc6f9bdb 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 2020 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. @@ -56,8 +56,8 @@ message ModelEvaluationSlice { // Output only. Points to a YAML file stored on Google Cloud Storage describing the // [metrics][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics] of this ModelEvaluationSlice. The - // schema is defined as an OpenAPI 3.0.2 - // [Schema Object](https://tinyurl.com/y538mdwt#schema-object). + // 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). string metrics_schema_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored 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 55c3bf99c..93c9b79c0 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 2020 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. @@ -33,12 +33,12 @@ option java_multiple_files = true; option java_outer_classname = "ModelServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; -// A service for managing AI Platform's machine learning Models. +// A service for managing Vertex AI's machine learning Models. service ModelService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Uploads a Model artifact into AI Platform. + // Uploads a Model artifact into Vertex AI. rpc UploadModel(UploadModelRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/models:upload" @@ -247,8 +247,7 @@ message UpdateModelRequest { Model model = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The update mask applies to the resource. - // For the `FieldMask` definition, see - // [FieldMask](https://tinyurl.com/protobufs/google.protobuf#fieldmask). + // For the `FieldMask` definition, see [google.protobuf.FieldMask][google.protobuf.FieldMask]. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -335,7 +334,6 @@ message ExportModelResponse { message GetModelEvaluationRequest { // Required. The name of the ModelEvaluation resource. // Format: - // // `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -386,7 +384,6 @@ message ListModelEvaluationsResponse { message GetModelEvaluationSliceRequest { // Required. The name of the ModelEvaluationSlice resource. // Format: - // // `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -400,7 +397,6 @@ message GetModelEvaluationSliceRequest { message ListModelEvaluationSlicesRequest { // Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices // from. Format: - // // `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto index e3b1d3c73..0b775ad48 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 2020 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/aiplatform/v1/pipeline_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_service.proto index 60d06d60c..33807e82d 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 2020 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. @@ -30,7 +30,9 @@ option java_multiple_files = true; option java_outer_classname = "PipelineServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; -// A service for creating and managing AI Platform's pipelines. +// A service for creating and managing Vertex AI's pipelines. This includes both +// `TrainingPipeline` resources (used for AutoML and custom training) and +// `PipelineJob` resources (used for Vertex Pipelines). service PipelineService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; @@ -111,7 +113,6 @@ message CreateTrainingPipelineRequest { message GetTrainingPipelineRequest { // Required. The name of the TrainingPipeline resource. // Format: - // // `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -177,7 +178,6 @@ message ListTrainingPipelinesResponse { message DeleteTrainingPipelineRequest { // Required. The name of the TrainingPipeline resource to be deleted. // Format: - // // `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -191,7 +191,6 @@ message DeleteTrainingPipelineRequest { message CancelTrainingPipelineRequest { // Required. The name of the TrainingPipeline to cancel. // Format: - // // `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` string name = 1 [ (google.api.field_behavior) = REQUIRED, 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 42abd26f1..1f0565acb 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 2020 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. @@ -28,7 +28,7 @@ enum PipelineState { // The pipeline state is unspecified. PIPELINE_STATE_UNSPECIFIED = 0; - // The pipeline has been just created or resumed and processing has not yet + // The pipeline has been created or resumed, and processing has not yet // begun. PIPELINE_STATE_QUEUED = 1; @@ -44,7 +44,7 @@ enum PipelineState { // The pipeline failed. PIPELINE_STATE_FAILED = 5; - // The pipeline is being cancelled. From this state the pipeline may only go + // The pipeline is being cancelled. From this state, the pipeline may only go // to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or // PIPELINE_STATE_CANCELLED. PIPELINE_STATE_CANCELLING = 6; 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 146c1a47a..e8cdad763 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 2020 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/aiplatform/v1/schema/predict/instance/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel index 7d2389298..93e67bb33 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 @@ -115,11 +115,12 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( 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 f0b2581e3..46884403e 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 @@ -112,11 +112,12 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( 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 a530a15a5..049eafa72 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 @@ -124,11 +124,12 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( 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 a475ff56d..11bd902c3 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 @@ -117,11 +117,12 @@ py_gapic_assembly_pkg( ############################################################################## # PHP +# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules. ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + php_grpc_library = "php_grpc_library2", + php_proto_library = "php_proto_library2", ) php_proto_library( 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 2f2900433..936363775 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 2020 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/aiplatform/v1/specialist_pool_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool_service.proto index 3ac9f3889..68fe29397 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 2020 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. @@ -121,7 +121,6 @@ message CreateSpecialistPoolOperationMetadata { message GetSpecialistPoolRequest { // Required. The name of the SpecialistPool resource. // The form is - // // `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -195,7 +194,6 @@ message UpdateSpecialistPoolRequest { message UpdateSpecialistPoolOperationMetadata { // Output only. The name of the SpecialistPool to which the specialists are being added. // Format: - // // `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}` string specialist_pool = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/study.proto b/third_party/googleapis/google/cloud/aiplatform/v1/study.proto index 7e54aa9b4..1873ba14a 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 2020 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. @@ -260,7 +260,9 @@ message StudySpec { // The available search algorithms for the Study. enum Algorithm { - // The default algorithm used by AI Platform Optimization service. + // The default algorithm used by Vertex AI for [hyperparameter + // tuning](https://cloud.google.com/vertex-ai/docs/training/hyperparameter-tuning-overview) + // and [Vertex Vizier](https://cloud.google.com/vertex-ai/docs/vizier). ALGORITHM_UNSPECIFIED = 0; // Simple grid search within the feasible space. To use grid search, @@ -276,15 +278,15 @@ message StudySpec { // "Noisy" means that the repeated observations with the same Trial parameters // may lead to different metric evaluations. enum ObservationNoise { - // The default noise level chosen by the AI Platform service. + // The default noise level chosen by Vertex AI. OBSERVATION_NOISE_UNSPECIFIED = 0; - // AI Platform Vizier assumes that the objective function is (nearly) + // Vertex AI assumes that the objective function is (nearly) // perfectly reproducible, and will never repeat the same Trial // parameters. LOW = 1; - // AI Platform Vizier will estimate the amount of noise in metric + // Vertex AI will estimate the amount of noise in metric // evaluations, it may repeat the same Trial parameters more than once. HIGH = 2; } 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 1ede99df0..8ac39343c 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 2020 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. @@ -36,8 +36,8 @@ option java_package = "com.google.cloud.aiplatform.v1"; // The TrainingPipeline orchestrates tasks associated with training a Model. It // always executes the training task, and optionally may also -// export data from AI Platform's Dataset which becomes the training input, -// [upload][google.cloud.aiplatform.v1.ModelService.UploadModel] the Model to AI Platform, and evaluate the +// export data from Vertex AI's Dataset which becomes the training input, +// [upload][google.cloud.aiplatform.v1.ModelService.UploadModel] the Model to Vertex AI, and evaluate the // Model. message TrainingPipeline { option (google.api.resource) = { @@ -51,7 +51,7 @@ message TrainingPipeline { // Required. The user-defined name of this TrainingPipeline. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Specifies AI Platform owned input data that may be used for training the + // Specifies Vertex AI owned input data that may be used for training the // Model. The TrainingPipeline's [training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition] should make // clear whether this config is used and if there are any special requirements // on how it should be filled. If nothing about this config is mentioned in @@ -90,7 +90,7 @@ message TrainingPipeline { // a need of this information, or that training task does not support // uploading a Model as part of the pipeline. // When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and - // the trained Model had been uploaded into AI Platform, then the + // the trained Model had been uploaded into Vertex AI, then the // model_to_upload's resource [name][google.cloud.aiplatform.v1.Model.name] is populated. The Model // is always uploaded into the Project and Location in which this pipeline // is. @@ -135,7 +135,7 @@ message TrainingPipeline { EncryptionSpec encryption_spec = 18; } -// Specifies AI Platform owned input data to be used for training, and +// Specifies Vertex AI owned input data to be used for training, and // possibly evaluating, the Model. message InputDataConfig { // The instructions how the input data should be split between the @@ -167,7 +167,7 @@ message InputDataConfig { // * For non-tabular data: "jsonl". // * For tabular data: "csv" and "bigquery". // - // The following AI Platform environment variables are passed to containers + // The following Vertex AI environment variables are passed to containers // or python modules of the training task when this field is set: // // * AIP_DATA_FORMAT : Exported data format. @@ -182,21 +182,18 @@ message InputDataConfig { // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. // All training input data is written into that directory. // - // The AI Platform environment variables representing Cloud Storage + // The Vertex AI environment variables representing Cloud Storage // data URIs are represented in the Cloud Storage wildcard // format to support sharded data. e.g.: "gs://.../training-*.jsonl" // // * AIP_DATA_FORMAT = "jsonl" for non-tabular data, "csv" for tabular data // * AIP_TRAINING_DATA_URI = - // // "gcs_destination/dataset---